diff options
author | zeripath <art27@cantab.net> | 2021-06-27 21:21:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-27 16:21:16 -0400 |
commit | 9a0cd3af3b60ccd6ce400539b309026a82788595 (patch) | |
tree | f4e6529739601fc89a3ecfe471442785e7909fca /modules | |
parent | fe66b612b5234142304cd7c6c97a14017bca066c (diff) | |
download | gitea-9a0cd3af3b60ccd6ce400539b309026a82788595.tar.gz gitea-9a0cd3af3b60ccd6ce400539b309026a82788595.zip |
Handle misencoding of login_source cfg in mssql (#16268)
* Handle misencoding of login_source cfg in mssql
Unfortunately due a bug in xorm (see https://gitea.com/xorm/xorm/pulls/1957) updating
loginsources on MSSQL causes them to become corrupted. (#16252)
Whilst waiting for the referenced PR to be merged and to handle the corrupted
loginsources correctly we need to add a wrapper to the `FromDB()` methods to look
for and ignore the misplaced BOMs that have been added.
Fix #16252
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update models/login_source.go
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions