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:
tidusjar 2016-04-01 08:41:30 +01:00
parent d370bf62d0
commit f49e67da83

View file

@ -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);
};