mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 15:32:37 -07:00
Reworking the login page for #426
This commit is contained in:
parent
a82fdbc3bd
commit
f03392691c
5 changed files with 98 additions and 68 deletions
|
@ -69,7 +69,18 @@ namespace PlexRequests.UI.Modules
|
|||
|
||||
ModulePath = settingModulePath;
|
||||
|
||||
Before += (ctx) => SetCookie();
|
||||
Before += (ctx) =>
|
||||
{
|
||||
SetCookie();
|
||||
|
||||
if (!string.IsNullOrEmpty(ctx.Request.Session["TempMessage"] as string))
|
||||
{
|
||||
ctx.ViewBag.TempMessage = ctx.Request.Session["TempMessage"];
|
||||
ctx.ViewBag.TempType = ctx.Request.Session["TempType"];
|
||||
ctx.Request.Session.DeleteAll();
|
||||
}
|
||||
return null;
|
||||
};
|
||||
}
|
||||
|
||||
private int _dateTimeOffset = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue