The Free Software Media System - Server Backend & API
Fix max login attempts
theguymadmax8b826d981bcf
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.csindex 80722af106..583f29f94f 100644--- a/Jellyfin.Server.Implementations/Users/UserManager.cs+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs@@ -631,6 +631,7 @@ namespace Jellyfin.Server.Implementations.Usersif (maxInvalidLogins.HasValue && user.InvalidLoginAttemptCount >= maxInvalidLogins){user.SetPermission(PermissionKind.IsDisabled, true);+ dbContext.Update(user);await dbContext.SaveChangesAsync().ConfigureAwait(false);await _eventManager.PublishAsync(new UserLockedOutEventArgs(user)).ConfigureAwait(false);