1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

[WebUI] Use POST for logout command

This is to avoid browser being smart to prefetch the link then logging
out the user.
This commit is contained in:
Chocobo1 2017-11-02 21:05:16 +08:00
parent 1a45145c1e
commit b234fcec9c
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -612,7 +612,7 @@ initializeWindows = function() {
new Event(e).stop();
new Request({
url: 'logout',
method: 'get',
method: 'post',
onSuccess: function() {
window.location.reload();
}