mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
return to previous url after login
This commit is contained in:
parent
ce7df7afd4
commit
292ce75cc2
|
@ -784,8 +784,8 @@ class HttpCli(object):
|
|||
if "hc" in self.uparam:
|
||||
return self.tx_svcs()
|
||||
|
||||
if "h" in self.uparam:
|
||||
return self.tx_mounts()
|
||||
if "h" in self.uparam:
|
||||
return self.tx_mounts()
|
||||
|
||||
# conditional redirect to single volumes
|
||||
if self.vpath == "" and not self.ouparam:
|
||||
|
|
|
@ -5805,7 +5805,7 @@ function apply_perms(res) {
|
|||
ebi('acc_info').innerHTML = '<span id="srv_info2"><span>' + srvinf +
|
||||
'</span></span><span' + aclass + axs + L.access + '</span>' + (acct != '*' ?
|
||||
'<a href="' + SR + '/?pw=x">' + L.logout + acct + '</a>' :
|
||||
'<a href="' + SR + '/?h">Login</a>');
|
||||
'<a href="?h">Login</a>');
|
||||
|
||||
var o = QSA('#ops>a[data-perm]');
|
||||
for (var a = 0; a < o.length; a++) {
|
||||
|
|
Loading…
Reference in a new issue