mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Fix inverted condition when authenticating with an ApiKey
This commit is contained in:
parent
9e601ba731
commit
2478c8fa64
1 changed files with 2 additions and 2 deletions
|
|
@ -185,11 +185,11 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
|||
updateToken = true;
|
||||
}
|
||||
|
||||
authInfo.IsApiKey = true;
|
||||
authInfo.IsApiKey = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
authInfo.IsApiKey = false;
|
||||
authInfo.IsApiKey = true;
|
||||
}
|
||||
|
||||
if (updateToken)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue