mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Really fixed #2119 this time !wip
This commit is contained in:
parent
0bbeeaeb3e
commit
3532c20ea6
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ namespace Ombi.Controllers
|
|||
public async Task<bool> CreateWizardUser([FromBody] CreateUserWizardModel user)
|
||||
{
|
||||
var users = UserManager.Users;
|
||||
if (users.Any())
|
||||
if (users.Any(x => !x.UserName.Equals("api", StringComparison.CurrentCultureIgnoreCase)))
|
||||
{
|
||||
// No one should be calling this. Only the wizard
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue