Skip to content

Commit

Permalink
Email flipping was a bad idea.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Nov 21, 2023
1 parent 87de28d commit 2808c98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions galaxy_ng/social/pipeline/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import logging

from galaxy_ng.app.models.auth import User
from galaxy_ng.app.utils.galaxy import generate_unverified_email
# from galaxy_ng.app.models.auth import User
# from galaxy_ng.app.utils.galaxy import generate_unverified_email


logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -50,6 +50,7 @@ def create_user(strategy, details, backend, user=None, *args, **kwargs):
f'create_user(4): enumerate username:{username} email:{email} github_id:{github_id}'
)

'''
# check for all possible emails ...
possible_emails = [generate_unverified_email(github_id)]
if email:
Expand Down Expand Up @@ -125,6 +126,7 @@ def create_user(strategy, details, backend, user=None, *args, **kwargs):
'is_new': False,
'user': found_username
}
'''

new_user = strategy.create_user(**fields)
logger.info(f'create_user(13): {new_user}')
Expand Down

0 comments on commit 2808c98

Please sign in to comment.