mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:26 -04:00
Routes: Simplify actions in token_ajax
This commit is contained in:
parent
e453a2a682
commit
dbd96c77e4
3 changed files with 5 additions and 13 deletions
|
@ -91,7 +91,7 @@
|
|||
var count = document.getElementById('count');
|
||||
count.textContent--;
|
||||
|
||||
var url = '/token_ajax?action_revoke_token=1&redirect=false' +
|
||||
var url = '/token_ajax?action=revoke_token&redirect=false' +
|
||||
'&referer=' + encodeURIComponent(location.href) +
|
||||
'&session=' + target.getAttribute('data-session');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue