The Free Software Media System - Server Backend & API
Reset invalid login attempt count properly
Patrick Barron1b297eae7834
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.csindex b62c648309..91d0e5b803 100644--- a/Jellyfin.Server.Implementations/Users/UserManager.cs+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs@@ -467,10 +467,10 @@ namespace Jellyfin.Server.Implementations.Usersif (isUserSession){user.LastActivityDate = user.LastLoginDate = DateTime.UtcNow;- await UpdateUserAsync(user).ConfigureAwait(false);}user.InvalidLoginAttemptCount = 0;+ await UpdateUserAsync(user).ConfigureAwait(false);_logger.LogInformation("Authentication request for {UserName} has succeeded.", user.Username);}else