108536366: Implement register flow

Includes validation for gov.uk email address, mobile number with +44, password at least 10 char.
Form validation errors will be added to template in a later story.
User is created when form validates.
This commit is contained in:
Rebecca Law
2015-12-01 13:23:54 +00:00
parent 5879e59f34
commit 64d2cbb927
8 changed files with 120 additions and 28 deletions

View File

@@ -6,4 +6,5 @@ def hashpw(password):
def checkpw(password, hashed_password):
# If salt is invalid throws a 500 should add try/catch here
return check_password_hash(hashed_password, password)