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:
parent
e016d5822f
commit
16ee147eae
7 changed files with 98 additions and 10 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue