Add a form for changing the password and prompt the user to do so when there is no password on the account.

This commit is contained in:
yackob03 2013-10-10 13:44:34 -04:00
parent e016d5822f
commit 16ee147eae
7 changed files with 98 additions and 10 deletions

View file

@ -1,6 +1,8 @@
import re
import urllib
INVALID_PASSWORD_MESSAGE = 'Invalid password, password must be at least ' + \
'8 characters and contain no whitespace.'
def validate_email(email_address):
if re.match(r'[^@]+@[^@]+\.[^@]+', email_address):