Merge pull request #1127 from LogicalPhallacy/lockoutfix

Add configurable user lockout
This commit is contained in:
Joshua M. Boniface
2019-03-18 21:13:51 -04:00
committed by GitHub
2 changed files with 13 additions and 2 deletions

View File

@@ -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>();