mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #4756 from crobibero/api-key-inverted-condition
Fix inverted condition when authenticating with an ApiKey (cherry picked from commit c1bb29532fd4abb0245799df0cc6e9cd6d576568) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
0d8fa795a0
commit
02cc83b807
@ -185,11 +185,11 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
|||||||
updateToken = true;
|
updateToken = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
authInfo.IsApiKey = true;
|
authInfo.IsApiKey = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
authInfo.IsApiKey = false;
|
authInfo.IsApiKey = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updateToken)
|
if (updateToken)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user