mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07: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:
parent
1a45145c1e
commit
b234fcec9c
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ initializeWindows = function() {
|
|||
new Event(e).stop();
|
||||
new Request({
|
||||
url: 'logout',
|
||||
method: 'get',
|
||||
method: 'post',
|
||||
onSuccess: function() {
|
||||
window.location.reload();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue