mirror of
https://github.com/9001/copyparty.git
synced 2026-02-19 11:54:58 -05: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user