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

View File

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