mirror of
https://github.com/9001/copyparty.git
synced 2026-01-12 07:44:08 -07:00
fix @acct without idp-h-grp; closes #1113
This commit is contained in:
parent
0b6d2d2424
commit
b6c2ec15db
|
|
@ -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,))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue