The Free Software Media System - Server Backend & API
Make styling more consistent
Patrick Barron03cc6b1d7820
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.csindex 38a074e988..25d7524c74 100644--- a/Jellyfin.Server.Implementations/Users/UserManager.cs+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs@@ -407,12 +407,12 @@ namespace Jellyfin.Server.Implementations.Usersvar 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