aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Users/UserManager.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-02-25 19:02:27 -0500
committerPatrick Barron <barronpm@gmail.com>2021-02-25 19:02:27 -0500
commit03cc6b1d782067e58975dbea4b61e42a3c04e1aa (patch)
tree723789d0e315549e38e2f14f2aa6634935febbfd /Jellyfin.Server.Implementations/Users/UserManager.cs
parenta5e55ba85956fe54539cb22dfd95c9499aa3de6c (diff)
Make styling more consistent
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/UserManager.cs')
-rw-r--r--Jellyfin.Server.Implementations/Users/UserManager.cs4
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