Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/2fdccf277f21aaa33b63cea2569d36e9ca007766?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
2 deletions
@ -119,10 +119,10 @@ namespace Ombi.Controllers
public async Task < SaveWizardResult > CreateWizardUser ( [ FromBody ] CreateUserWizardModel user )
public async Task < SaveWizardResult > CreateWizardUser ( [ FromBody ] CreateUserWizardModel user )
{
{
var users = UserManager . Users ;
var users = UserManager . Users ;
if ( users . Any ( x = > ! x . UserName . Equals ( "api" , StringComparison . Curre ntCultureIgnoreCase) ) )
if ( users . Any ( x = > ! x . UserName . Equals ( "api" , StringComparison . Invaria ntCultureIgnoreCase) ) )
{
{
// No one should be calling this. Only the wizard
// No one should be calling this. Only the wizard
return new SaveWizardResult { Result = false } ;
return new SaveWizardResult { Result = false , Errors = new List < string > { "Looks like there is an existing user!" } } ;
}
}
if ( user . UsePlexAdminAccount )
if ( user . UsePlexAdminAccount )