diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-02-25 19:02:27 -0500 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-02-25 19:02:27 -0500 |
| commit | 03cc6b1d782067e58975dbea4b61e42a3c04e1aa (patch) | |
| tree | 723789d0e315549e38e2f14f2aa6634935febbfd /Jellyfin.Server.Implementations/Users/UserManager.cs | |
| parent | a5e55ba85956fe54539cb22dfd95c9499aa3de6c (diff) | |
Make styling more consistent
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/UserManager.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/UserManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs index 38a074e98..25d7524c7 100644 --- a/Jellyfin.Server.Implementations/Users/UserManager.cs +++ b/Jellyfin.Server.Implementations/Users/UserManager.cs @@ -407,12 +407,12 @@ namespace Jellyfin.Server.Implementations.Users var authenticationProvider = authResult.authenticationProvider; var success = authResult.success; - if (user is null) + if (user == null) { string updatedUsername = authResult.username; if (success - && authenticationProvider is not null + && authenticationProvider != null && authenticationProvider is not DefaultAuthenticationProvider) { // Trust the username returned by the authentication provider |
