Skip to content

Commit 40cb373

Browse files
committed
Actually use configuration.auto_add_oidc_user for OpenID Connect sign up attempts. Both kind of OpenID sign up used to rely on the original configuration.auto_add_oid_user .
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6078 b75ad72c-e7d7-11dd-a971-7dbc132099af
1 parent 2aa4c41 commit 40cb373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mig/shared/functionality/autocreate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ def main(client_id, user_arguments_dict, environ=None):
722722
or auth_type == AUTH_OPENID_V2 and \
723723
configuration.auto_add_oid_user \
724724
or auth_type == AUTH_OPENID_CONNECT and \
725-
configuration.auto_add_oid_user:
725+
configuration.auto_add_oidc_user:
726726
fill_user(user_dict)
727727

728728
# IMPORTANT: do NOT log credentials

0 commit comments

Comments
 (0)