Skip to content

Commit

Permalink
indicate missing fields when submitting step 3
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Oct 21, 2014
1 parent ed904fd commit ee48467
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions outlauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def step_2():
password = request.form.get('password')
email = request.form.get('email')
if not char_id or not username or not password or not email:
if char_id or username or password or email:
flask.flash('You must pick a character, username, and password and provide an email address.')
# step 2
return step_2()
else:
Expand Down

0 comments on commit ee48467

Please sign in to comment.