mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-10 04:12:10 +01:00
Merge pull request #4269 from joshuaboniface/session-limit
Add user max sessions options
This commit is contained in:
@@ -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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user