mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
Attempt at fixing sign-out link after session expires
Note that this still does not seem to work; needs more investigation, but not a showstopper for the feature going out! Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -26,7 +26,8 @@ window.GOVUK.Modules.TimeoutPopup = window.GOVUK.Modules.TimeoutPopup || {};
|
||||
}
|
||||
|
||||
function expireUserSession() {
|
||||
window.location.assign('/sign-out?next=' + window.location.pathname);
|
||||
var signOutLink = '/sign-out?next=' + window.location.pathname;
|
||||
window.location.assign(signOutLink);
|
||||
}
|
||||
|
||||
function signoutUser() {
|
||||
|
||||
Reference in New Issue
Block a user