mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Remove default set for MaxActiveSessions
This commit is contained in:
parent
6e1d1eed23
commit
cd328a0be3
@ -379,7 +379,7 @@ namespace Jellyfin.Server.Implementations.Users
|
|||||||
PasswordResetProviderId = user.PasswordResetProviderId,
|
PasswordResetProviderId = user.PasswordResetProviderId,
|
||||||
InvalidLoginAttemptCount = user.InvalidLoginAttemptCount,
|
InvalidLoginAttemptCount = user.InvalidLoginAttemptCount,
|
||||||
LoginAttemptsBeforeLockout = user.LoginAttemptsBeforeLockout ?? -1,
|
LoginAttemptsBeforeLockout = user.LoginAttemptsBeforeLockout ?? -1,
|
||||||
MaxActiveSessions = user.MaxActiveSessions ?? -1,
|
MaxActiveSessions = user.MaxActiveSessions,
|
||||||
IsAdministrator = user.HasPermission(PermissionKind.IsAdministrator),
|
IsAdministrator = user.HasPermission(PermissionKind.IsAdministrator),
|
||||||
IsHidden = user.HasPermission(PermissionKind.IsHidden),
|
IsHidden = user.HasPermission(PermissionKind.IsHidden),
|
||||||
IsDisabled = user.HasPermission(PermissionKind.IsDisabled),
|
IsDisabled = user.HasPermission(PermissionKind.IsDisabled),
|
||||||
|
Loading…
Reference in New Issue
Block a user