From f49e67da8355b876d4a2735213df4f518a106813 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 1 Apr 2016 08:41:30 +0100 Subject: [PATCH] Added back the username into the Session when the admin logs in. This means they do not have to log in twice. --- PlexRequests.UI/Modules/LoginModule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PlexRequests.UI/Modules/LoginModule.cs b/PlexRequests.UI/Modules/LoginModule.cs index 71a6ebb0a..6750b2c4c 100644 --- a/PlexRequests.UI/Modules/LoginModule.cs +++ b/PlexRequests.UI/Modules/LoginModule.cs @@ -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); };