Skip to content

Commit

Permalink
Removed dummy email, default email to blank
Browse files Browse the repository at this point in the history
  • Loading branch information
dhendo committed Nov 2, 2012
1 parent 873c907 commit dbaaa50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions social_auth/backends/contrib/shopify.py
Expand Up @@ -33,8 +33,7 @@ def get_user_details(self, response):
"""Use the shopify store name as the username"""
return {
USERNAME: unicode(response.get('shop', '')\
.replace('.myshopify.com', '')),
'email': "no_email_set@example.com"
.replace('.myshopify.com', ''))
}

def get_user_id(self, details, response):
Expand Down
2 changes: 1 addition & 1 deletion social_auth/backends/pipeline/user.py
Expand Up @@ -44,7 +44,7 @@ def create_user(backend, details, response, uid, username, user=None, *args,
if not username:
return None

args = {'username': username}
args = {'username': username, 'email': ''}
if details.get('email'):
args['email'] = details['email']

Expand Down

0 comments on commit dbaaa50

Please sign in to comment.