mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
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:
@@ -788,7 +788,7 @@ var initializeWindows = function() {
|
||||
url: 'api/v2/auth/logout',
|
||||
method: 'post',
|
||||
onSuccess: function() {
|
||||
window.location.reload();
|
||||
window.location.reload(true);
|
||||
}
|
||||
}).send();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user