mirror of
https://github.com/9001/copyparty.git
synced 2026-03-22 08:03:32 +10:00
* rename hdr-au-usr to idp-h-usr
* ensure lowercase idp-h-*, xff-hdr * more macos support in tooling
This commit is contained in:
@@ -452,9 +452,9 @@ class HttpCli(object):
|
||||
except:
|
||||
pass
|
||||
|
||||
if self.args.hdr_au_usr:
|
||||
if self.args.idp_h_usr:
|
||||
self.pw = ""
|
||||
self.uname = self.headers.get(self.args.hdr_au_usr) or "*"
|
||||
self.uname = self.headers.get(self.args.idp_h_usr) or "*"
|
||||
if self.uname not in self.asrv.vfs.aread:
|
||||
self.log("unknown username: [%s]" % (self.uname), 1)
|
||||
self.uname = "*"
|
||||
|
||||
Reference in New Issue
Block a user