diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-07-15 12:42:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-15 12:42:09 +0200 |
| commit | e3d610c3c593a605d41a2410ef9b51faeac7cf5a (patch) | |
| tree | 52fcdc35c75e97f1abcc48c690dd1105b8cdff5d | |
| parent | 486ffaa6dd9cb0f6098d182b387ec442bbfc9c04 (diff) | |
| parent | 8b826d981bcfec22063d6008e38016f4b77790d0 (diff) | |
Merge pull request #17274 from theguymadmax/fix-max-login-attempts
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/UserManager.cs | 1 |
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); |
