mirror of
https://github.com/9001/copyparty.git
synced 2026-01-13 00:02:40 -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(
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue