mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 12:38:26 -04: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() {
|
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() {
|
function signoutUser() {
|
||||||
|
|||||||
Reference in New Issue
Block a user