mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-30 05:46:30 +01:00
Merge pull request #1127 from LogicalPhallacy/lockoutfix
Add configurable user lockout
This commit is contained in:
@@ -66,6 +66,7 @@ namespace MediaBrowser.Model.Users
|
||||
public bool EnableAllFolders { get; set; }
|
||||
|
||||
public int InvalidLoginAttemptCount { get; set; }
|
||||
public int? LoginAttemptsBeforeLockout { get; set; }
|
||||
|
||||
public bool EnablePublicSharing { get; set; }
|
||||
|
||||
@@ -104,6 +105,8 @@ namespace MediaBrowser.Model.Users
|
||||
|
||||
AccessSchedules = Array.Empty<AccessSchedule>();
|
||||
|
||||
LoginAttemptsBeforeLockout = -1;
|
||||
|
||||
EnableAllChannels = true;
|
||||
EnabledChannels = Array.Empty<string>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user