diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-02-01 15:37:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-01 15:37:16 +0100 |
| commit | 87c5047b13b74f291053ee308bb48d93e616832d (patch) | |
| tree | 25a51f22577718d6c39d958770ed92d35ba67b20 /Emby.Server.Implementations/Library/UserManager.cs | |
| parent | cd13f718fb52c507512615fad08e3c3670834163 (diff) | |
| parent | 692a9bfdd054b166a79e71f2a3191ac57c04a65f (diff) | |
Merge pull request #2362 from dkanada/tasks
Improve scan progress and fix a few bugs
Diffstat (limited to 'Emby.Server.Implementations/Library/UserManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/UserManager.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/UserManager.cs b/Emby.Server.Implementations/Library/UserManager.cs index 656eeb145..9dbd48bfc 100644 --- a/Emby.Server.Implementations/Library/UserManager.cs +++ b/Emby.Server.Implementations/Library/UserManager.cs @@ -291,10 +291,11 @@ namespace Emby.Server.Implementations.Library && authenticationProvider != null && !(authenticationProvider is DefaultAuthenticationProvider)) { - // We should trust the user that the authprovider says, not what was typed + // Trust the username returned by the authentication provider username = updatedUsername; - // Search the database for the user again; the authprovider might have created it + // Search the database for the user again + // the authentication provider might have created it user = Users .FirstOrDefault(i => string.Equals(username, i.Name, StringComparison.OrdinalIgnoreCase)); |
