mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -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',
|
url: 'api/v2/auth/logout',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
onSuccess: function() {
|
onSuccess: function() {
|
||||||
window.location.reload();
|
window.location.reload(true);
|
||||||
}
|
}
|
||||||
}).send();
|
}).send();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user