mirror of
https://github.com/9001/copyparty.git
synced 2026-02-23 02:46:13 +10: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(
|
def idp_checkin(
|
||||||
self, broker: Optional["BrokerCli"], uname: str, gname: str
|
self, broker: Optional["BrokerCli"], uname: str, gname: str
|
||||||
) -> bool:
|
) -> bool:
|
||||||
if uname in self.acct:
|
|
||||||
return False
|
|
||||||
|
|
||||||
if self.idp_usr_gh.get(uname) == gname:
|
if self.idp_usr_gh.get(uname) == gname:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user