mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
Tweaked ApiRequest behavior on non-200 responses; think it was breaking login. :-"
This commit is contained in:
parent
231a525109
commit
ec973917b4
2 changed files with 11 additions and 11 deletions
|
@ -373,7 +373,6 @@ namespace Ombi.UI.Modules
|
|||
return Response.AsJson(new { result = false, message = Resources.UI.UserLogin_IncorrectUserPass });
|
||||
}
|
||||
|
||||
|
||||
var m = await AuthenticationSetup(userId, username, dateTimeOffset, loginGuid, isOwner, plexSettings.Enable, embySettings.Enable);
|
||||
|
||||
var landingSettings = await LandingPageSettings.GetSettingsAsync();
|
||||
|
@ -397,7 +396,6 @@ namespace Ombi.UI.Modules
|
|||
return CustomModuleExtensions.LoginAndRedirect(this, m.LoginGuid, null, retVal.ToString());
|
||||
}
|
||||
return Response.AsJson(new { result = true, url = retVal.ToString() });
|
||||
|
||||
}
|
||||
|
||||
private async Task<Response> LoginUser()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue