[PR #11370] [MERGED] Limit sessions per user #12686

Closed
opened 2025-12-22 09:26:20 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/11370
Author: @crobibero
Created: 4/16/2024
Status: Merged
Merged: 4/21/2024
Merged by: @crobibero

Base: masterHead: user-sessions


📝 Commits (1)

📊 Changes

2 files changed (+8 additions, -2 deletions)

View changed files

📝 Jellyfin.Api/Controllers/SessionController.cs (+7 -1)
📝 tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs (+1 -1)

📄 Description

Partially fixes https://github.com/jellyfin/jellyfin/issues/11366

I tried adding a test for this but having the logic directly in the controller make it very difficult


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/11370 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 4/16/2024 **Status:** ✅ Merged **Merged:** 4/21/2024 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `user-sessions` --- ### 📝 Commits (1) - [`b111dfb`](https://github.com/jellyfin/jellyfin/commit/b111dfb9da54a2b24b8f5e2f9715af78278937d6) Limit sessions per user ### 📊 Changes **2 files changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Controllers/SessionController.cs` (+7 -1) 📝 `tests/Jellyfin.Server.Integration.Tests/Controllers/SessionControllerTests.cs` (+1 -1) </details> ### 📄 Description Partially fixes https://github.com/jellyfin/jellyfin/issues/11366 I tried adding a test for this but having the logic directly in the controller make it very difficult --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:26:20 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#12686
No description provided.