mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 07:22:35 -07:00
Finished #459
This commit is contained in:
parent
d843ab0ebb
commit
632ce75fa0
7 changed files with 84 additions and 22 deletions
|
@ -53,6 +53,12 @@ namespace PlexRequests.UI.Modules
|
|||
private Response CheckAuth()
|
||||
{
|
||||
var settings = PlexRequestSettings.GetSettings();
|
||||
// Have we been through the wizard?
|
||||
if (!settings.Wizard)
|
||||
{
|
||||
return Context.GetRedirect("~/wizard");
|
||||
}
|
||||
|
||||
var baseUrl = settings.BaseUrl;
|
||||
|
||||
var redirectPath = string.IsNullOrEmpty(baseUrl) ? "~/userlogin" : $"~/{baseUrl}/userlogin";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue