The Free Software Media System - Server Backend & API
disable user lockout for now
Luke Pulverentid0df24d957d3
diff --git a/MediaBrowser.Server.Implementations/Library/UserManager.cs b/MediaBrowser.Server.Implementations/Library/UserManager.csindex 00c6744368..c50a71556a 100644--- a/MediaBrowser.Server.Implementations/Library/UserManager.cs+++ b/MediaBrowser.Server.Implementations/Library/UserManager.cs@@ -286,10 +286,10 @@ namespace MediaBrowser.Server.Implementations.Libraryif (newValue >= maxCount){- _logger.Debug("Disabling user {0} due to {1} unsuccessful login attempts.", user.Name, newValue.ToString(CultureInfo.InvariantCulture));- user.Policy.IsDisabled = true;+ //_logger.Debug("Disabling user {0} due to {1} unsuccessful login attempts.", user.Name, newValue.ToString(CultureInfo.InvariantCulture));+ //user.Policy.IsDisabled = true;- fireLockout = true;+ //fireLockout = true;}await UpdateUserPolicy(user, user.Policy, false).ConfigureAwait(false);