mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -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:
|
||||
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:
|
||||
un = self.parser.require("uname", 256)
|
||||
un = self.parser.require("uname", 64)
|
||||
except:
|
||||
un = ""
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue