Merge pull request #4269 from joshuaboniface/session-limit

Add user max sessions options
This commit is contained in:
Joshua M. Boniface
2020-10-04 23:34:52 -04:00
committed by GitHub
7 changed files with 514 additions and 1 deletions

View File

@@ -92,6 +92,8 @@ namespace MediaBrowser.Model.Users
public int LoginAttemptsBeforeLockout { get; set; }
public int MaxActiveSessions { get; set; }
public bool EnablePublicSharing { get; set; }
public Guid[] BlockedMediaFolders { get; set; }
@@ -144,6 +146,8 @@ namespace MediaBrowser.Model.Users
LoginAttemptsBeforeLockout = -1;
MaxActiveSessions = 0;
EnableAllChannels = true;
EnabledChannels = Array.Empty<Guid>();