mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Added back the username into the Session when the admin logs in. This means they do not have to log in twice.
This commit is contained in:
parent
d370bf62d0
commit
f49e67da83
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ namespace PlexRequests.UI.Modules
|
|||
{
|
||||
expiry = DateTime.Now.AddDays(7);
|
||||
}
|
||||
Session[SessionKeys.UsernameKey] = username;
|
||||
Session[SessionKeys.ClientDateTimeOffsetKey] = dtOffset;
|
||||
return this.LoginAndRedirect(userId.Value, expiry);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue