mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
fix logout link going 404
This commit is contained in:
parent
02910b0020
commit
1bb0db30a0
|
@ -2559,8 +2559,8 @@ function apply_perms(newperms) {
|
|||
perms = newperms || [];
|
||||
|
||||
ebi('acc_info').innerHTML = '<span>' + (acct != '*' ?
|
||||
'<a href="?pw=x">Logout ' + acct + '</a>' :
|
||||
'<a href="?h">Login</a>') + '</span>';
|
||||
'<a href="/?pw=x">Logout ' + acct + '</a>' :
|
||||
'<a href="/?h">Login</a>') + '</span>';
|
||||
|
||||
var o = QSA('#ops>a[data-perm], #u2footfoot');
|
||||
for (var a = 0; a < o.length; a++) {
|
||||
|
|
Loading…
Reference in a new issue