The Free Software Media System - Server Backend & API
Fix incorrect hasPassword flag when easy pin set
bugfixin1df73fdeba0a
diff --git a/Emby.Server.Implementations/Library/UserManager.cs b/Emby.Server.Implementations/Library/UserManager.csindex 952cc6896b..c33bb77409 100644--- a/Emby.Server.Implementations/Library/UserManager.cs+++ b/Emby.Server.Implementations/Library/UserManager.cs@@ -596,7 +596,7 @@ namespace Emby.Server.Implementations.Library}bool hasConfiguredPassword = GetAuthenticationProvider(user).HasPassword(user).Result;- bool hasConfiguredEasyPassword = string.IsNullOrEmpty(GetLocalPasswordHash(user));+ bool hasConfiguredEasyPassword = !string.IsNullOrEmpty(GetLocalPasswordHash(user));bool hasPassword = user.Configuration.EnableLocalPassword && !string.IsNullOrEmpty(remoteEndPoint) && _networkManager.IsInLocalNetwork(remoteEndPoint) ?hasConfiguredEasyPassword :