Use force refresh on WebUI logout

Regardless of the cache header settings, the logout action should never be
allowed to load from cache.
This commit is contained in:
Chocobo1 2019-04-17 13:42:52 +08:00
parent 6e1e7a45a1
commit d022457e0c
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

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