Update FirstTimeSetupHandler.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
35962bcc42
commit
a71e2d9f0a
|
@ -29,7 +29,7 @@ namespace Jellyfin.Api.Auth.FirstTimeSetupPolicy
|
|||
{
|
||||
context.Succeed(requirement);
|
||||
}
|
||||
else if (context.User.GetIsApiKey())
|
||||
else if (context.User.IsInRole(UserRoles.Administrator))
|
||||
{
|
||||
context.Succeed(requirement);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user