فهرست منبع

Make styling more consistent

Patrick Barron 4 سال پیش
والد
کامیت
03cc6b1d78
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Jellyfin.Server.Implementations/Users/UserManager.cs

+ 2 - 2
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