Added back the username into the Session when the admin logs in. This means they do not have to log in twice.

pull/130/head
tidusjar 9 years ago
parent d370bf62d0
commit f49e67da83

@ -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…
Cancel
Save