mirror of
https://github.com/9001/copyparty.git
synced 2026-01-12 07:44:08 -07:00
load idp groups also for native accounts;
previously, if a native user was authed by an idp instead of the config password, it would not load and register the idp groups
This commit is contained in:
parent
7d7a1510fb
commit
f08cb25ccc
|
|
@ -1120,9 +1120,6 @@ class AuthSrv(object):
|
|||
def idp_checkin(
|
||||
self, broker: Optional["BrokerCli"], uname: str, gname: str
|
||||
) -> bool:
|
||||
if uname in self.acct:
|
||||
return False
|
||||
|
||||
if self.idp_usr_gh.get(uname) == gname:
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue