mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-10 01:38:49 +01:00
update local pin feature
This commit is contained in:
@@ -415,23 +415,6 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
var auth = AuthorizationContext.GetAuthorizationInfo(Request);
|
||||
|
||||
if (string.IsNullOrWhiteSpace(auth.Client))
|
||||
{
|
||||
auth.Client = "Unknown app";
|
||||
}
|
||||
if (string.IsNullOrWhiteSpace(auth.Device))
|
||||
{
|
||||
auth.Device = "Unknown device";
|
||||
}
|
||||
if (string.IsNullOrWhiteSpace(auth.Version))
|
||||
{
|
||||
auth.Version = "Unknown version";
|
||||
}
|
||||
if (string.IsNullOrWhiteSpace(auth.DeviceId))
|
||||
{
|
||||
auth.DeviceId = "Unknown device id";
|
||||
}
|
||||
|
||||
var result = await _sessionMananger.AuthenticateNewSession(new AuthenticationRequest
|
||||
{
|
||||
App = auth.Client,
|
||||
|
||||
Reference in New Issue
Block a user