mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
unames: fix shares
This commit is contained in:
parent
d9e3f998d1
commit
1bf23fabc6
|
@ -2959,9 +2959,11 @@ class HttpCli(object):
|
||||||
|
|
||||||
def handle_login(self) -> bool:
|
def handle_login(self) -> bool:
|
||||||
assert self.parser # !rm
|
assert self.parser # !rm
|
||||||
if self.args.usernames:
|
if self.args.usernames and not (
|
||||||
|
self.args.shr and self.vpath.startswith(self.args.shr1)
|
||||||
|
):
|
||||||
try:
|
try:
|
||||||
un = self.parser.require("uname", 256)
|
un = self.parser.require("uname", 64)
|
||||||
except:
|
except:
|
||||||
un = ""
|
un = ""
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue