mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 19:30:13 -04:00
Swapped resetting window.location.href to using window.location.assign
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -26,11 +26,11 @@ window.GOVUK.Modules.TimeoutPopup = window.GOVUK.Modules.TimeoutPopup || {};
|
||||
}
|
||||
|
||||
function expireUserSession() {
|
||||
window.location.href = '/sign-out' + '?next=' + window.location.pathname;
|
||||
window.location.assign('/sign-out?next=' + window.location.pathname);
|
||||
}
|
||||
|
||||
function signoutUser() {
|
||||
window.location.href = '/sign-out';
|
||||
window.location.assign('/sign-out');
|
||||
}
|
||||
|
||||
function extendSession() {
|
||||
|
||||
Reference in New Issue
Block a user