Browse Source

Use force refresh on WebUI logout

Regardless of the cache header settings, the logout action should never be
allowed to load from cache.
adaptive-webui-19844
Chocobo1 6 years ago
parent
commit
d022457e0c
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/webui/www/private/scripts/mocha-init.js

2
src/webui/www/private/scripts/mocha-init.js

@ -788,7 +788,7 @@ var initializeWindows = function() { @@ -788,7 +788,7 @@ var initializeWindows = function() {
url: 'api/v2/auth/logout',
method: 'post',
onSuccess: function() {
window.location.reload();
window.location.reload(true);
}
}).send();
});

Loading…
Cancel
Save