zeripath
9a0cd3af3b
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
2021-06-27 16:21:16 -04:00
..
2021-06-26 20:53:14 +01:00
2021-06-27 20:21:09 +01:00
2021-06-23 00:14:22 -04:00
2021-05-16 19:58:26 +08:00
2021-06-07 07:27:09 +02:00
2021-05-12 00:13:42 -04:00
2021-05-21 21:18:43 -04:00
2021-06-23 15:38:19 -04:00
2021-06-21 14:34:58 -04:00
2021-06-25 16:28:55 +02:00
2021-05-12 00:13:42 -04:00
2021-06-08 11:52:51 +08:00
2021-06-14 10:22:55 +08:00
2021-06-14 10:22:55 +08:00
2021-05-12 00:13:42 -04:00
2021-06-14 21:12:33 -04:00
2021-06-21 14:34:58 -04:00
2021-06-21 14:34:58 -04:00
2021-06-07 07:27:09 +02:00
2021-06-14 10:22:55 +08:00
2021-06-07 07:27:09 +02:00
2021-06-14 10:22:55 +08:00
2021-05-11 21:43:35 +01:00
2021-06-21 14:34:58 -04:00
2021-06-27 16:21:16 -04:00
2021-06-25 16:28:55 +02:00
2021-06-23 00:14:22 -04:00
2021-06-07 07:27:09 +02:00
2021-06-17 23:56:46 +02:00
2021-06-17 23:56:46 +02:00
2021-06-26 20:53:14 +01:00
2021-06-26 20:53:14 +01:00
2021-06-25 16:28:55 +02:00
2021-06-25 16:28:55 +02:00
2021-06-23 00:14:22 -04:00
2021-06-17 10:58:10 +02:00
2021-06-23 17:12:38 -04:00
2021-06-07 07:27:09 +02:00
2021-06-14 19:20:43 +02:00
2021-06-26 20:53:14 +01:00
2021-06-14 19:20:43 +02:00
2021-06-14 19:20:43 +02:00
2021-06-07 07:27:09 +02:00
2021-06-27 16:21:16 -04:00
2021-06-26 20:53:14 +01:00
2021-06-14 21:12:33 -04:00
2021-06-14 21:15:12 -04:00
2021-06-16 18:02:24 -04:00
2021-06-16 00:29:25 +02:00
2021-06-07 07:27:09 +02:00
2021-06-23 17:12:38 -04:00
2021-06-25 12:59:25 -04:00
2021-06-25 12:59:25 -04:00
2021-06-08 11:52:51 +08:00
2021-06-08 11:52:51 +08:00
2021-06-07 07:27:09 +02:00
2021-06-27 19:47:35 +01:00
2021-06-27 19:47:35 +01:00
2021-06-27 20:21:09 +01:00
2021-06-27 20:21:09 +01:00