mirror of
https://github.com/9001/copyparty.git
synced 2025-12-27 07:54:13 -05:00
fix @acct without idp-h-grp; closes #1113
This commit is contained in:
@@ -1590,7 +1590,7 @@ class AuthSrv(object):
|
||||
uns = [x[0] for x in un_gns.items() if grp in x[1]]
|
||||
if grp == "${g}":
|
||||
unames.append(un)
|
||||
elif not uns and not self.args.idp_h_grp:
|
||||
elif not uns and not self.args.idp_h_grp and grp != self.args.grp_all:
|
||||
t = "group [%s] must be defined with --grp argument (or in a [groups] config section)"
|
||||
raise CfgEx(t % (grp,))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user