Skip to content

Commit

Permalink
Merge pull request #4435 from ckan/user-add-error-message
Browse files Browse the repository at this point in the history
user_add CLI - add a missing error message
  • Loading branch information
wardi committed Sep 13, 2018
2 parents f3a9c0d + 8f88217 commit 16cda2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/lib/cli.py
Expand Up @@ -118,6 +118,7 @@ def user_add(args):

# Required
while '@' not in data_dict.get('email', ''):
print('Error: Invalid email address')
data_dict['email'] = input('Email address: ').strip()

if 'password' not in data_dict:
Expand Down

0 comments on commit 16cda2d

Please sign in to comment.