mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4269] [MERGED] Add user max sessions options #9991
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4269
Author: @joshuaboniface
Created: 10/4/2020
Status: ✅ Merged
Merged: 10/5/2020
Merged by: @joshuaboniface
Base:
master← Head:session-limit📝 Commits (10+)
5a7dda3Add active session trackingb9d79d7Add DB migration for new MaxActiveSessions field975fca5Fix syntax error2577595Remove obsolete gettera9e5f6eRemove nullable from MaxActiveSessionsb130af1Remove variables from SecurityException6e1d1eeMake log entry informationalcd328a0Remove default set for MaxActiveSessions725acb5Add pragma warning disabled to migrationsd0ec687Increase count check to 1📊 Changes
7 files changed (+514 additions, -1 deletions)
View changed files
📝
Emby.Server.Implementations/Session/SessionManager.cs(+8 -0)📝
Jellyfin.Data/Entities/User.cs(+5 -0)➕
Jellyfin.Server.Implementations/Migrations/20201004171403_AddMaxActiveSessions.Designer.cs(+464 -0)➕
Jellyfin.Server.Implementations/Migrations/20201004171403_AddMaxActiveSessions.cs(+27 -0)📝
Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs(+4 -1)📝
Jellyfin.Server.Implementations/Users/UserManager.cs(+2 -0)📝
MediaBrowser.Model/Users/UserPolicy.cs(+4 -0)📄 Description
Changes
Adds the ability to set a maximum number of active sessions per account, and limit logins based on this count.
Issues
Implements Fider #59
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.