From b743cf4fafa7341ad1b163276f006d7ab0e9dcff Mon Sep 17 00:00:00 2001 From: Jamie Date: Thu, 7 Apr 2022 19:50:33 +0100 Subject: [PATCH] fix(wizard): Fixed an issue when using Plex OAuth it could fail setting up --- src/Ombi/Controllers/V1/IdentityController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi/Controllers/V1/IdentityController.cs b/src/Ombi/Controllers/V1/IdentityController.cs index 7ef7b8561..2a71fbbac 100644 --- a/src/Ombi/Controllers/V1/IdentityController.cs +++ b/src/Ombi/Controllers/V1/IdentityController.cs @@ -114,7 +114,7 @@ namespace Ombi.Controllers.V1 public async Task CreateWizardUser([FromBody] CreateUserWizardModel user) { var users = UserManager.Users; - if (users.Any(x => x.UserType == UserType.LocalUser)) + if (users.Any(x => x.UserType != UserType.SystemUser)) { // No one should be calling this. Only the wizard return new SaveWizardResult { Result = false, Errors = new List { "Looks like there is an existing user!" } };