Skip to content

Commit 72dae64

Browse files
committed
Remove local dedebugging code
1 parent 92bdf23 commit 72dae64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

framework/auth/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ def get_or_create_institutional_user(fullname, sso_email, sso_identity, primary_
154154
# CASE 5/5: If no user is found, create a confirmed user and return the user and sso identity.
155155
# Note: Institution users are created as confirmed with a strong and random password. Users don't need the
156156
# password since they sign in via SSO. They can reset their password to enable email/password login.
157-
# user = OSFUser.create_confirmed(sso_email, str(uuid.uuid4()), fullname)
158-
user = OSFUser.create_confirmed(sso_email, 'abCD12#$', fullname)
157+
user = OSFUser.create_confirmed(sso_email, str(uuid.uuid4()), fullname)
159158
user.add_system_tag(institution_source_tag(primary_institution._id))
160159
return user, True, None, None, sso_identity
161160

0 commit comments

Comments
 (0)