aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheguymadmax <theguymadmax@proton.me>2026-07-08 23:07:57 -0400
committertheguymadmax <theguymadmax@proton.me>2026-07-08 23:07:57 -0400
commit8b826d981bcfec22063d6008e38016f4b77790d0 (patch)
treeebf61f9570fa38a4e9a10acafec074a84ff20fe0
parent53aafcd38e1f4558ff18f5258d0d46b3a0565783 (diff)
Fix max login attempts
-rw-r--r--Jellyfin.Server.Implementations/Users/UserManager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs
index 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.Users
if (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);