mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #4935] [MERGED] Remove used quick connect tokens #10333
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/4935
Author: @ConfusedPolarBear
Created: 1/3/2021
Status: ✅ Merged
Merged: 2/8/2021
Merged by: @dkanada
Base:
master← Head:quickconnect-cleanup📝 Commits (1)
8dd8332Remove quick connect tokens after usage📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
Emby.Server.Implementations/Session/SessionManager.cs(+6 -1)📄 Description
After using quick connect to login, two device entries are created in the Devices page: one with the server's name labeled
QuickConnect, and another for the connecting device. The first entry is used to associate the user id to the login request and the second entry is created byAuthenticateNewSessionInternal().Changes
After authenticating the incoming quick connect request, delete the initial quick connect token from the authentication repository to avoid adding a second device to the list.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.