Nicholas Staples
7001d8261d
Fix for security hole with setting session['user_id'] before second factor of authentication has been authorised.
2016-01-07 12:43:10 +00:00
Nicholas Staples
ecc3485d72
Merge conflicts with master.
2016-01-05 17:24:13 +00:00
Nicholas Staples
0ebacd6929
Refactor for code_not_received, sign_in, two_factor and verify.
2016-01-05 17:08:50 +00:00
Rebecca Law
f1291b7c09
Adding logging.
...
Raise ValidationError for validate_codes rather than returning a true or false.
2016-01-05 13:13:06 +00:00
minglis
e133baa6b3
Merge pull request #26 from alphagov/persis_verify_codes
...
Persis verify codes
2015-12-14 14:56:28 +00:00
Rebecca Law
295dbeb7d1
Create unit tests that test the forms.
2015-12-14 13:25:27 +00:00
Chris Hill-Scott
2f980ab622
Move all pages into their own directory
...
There are a lot of pages. It seems like a good idea to keep them in one place,
so they don’t get mixed up with partials and layouts.
2015-12-11 09:48:52 +00:00
Rebecca Law
bbecc03531
109526036: Fix bug.
...
If one of the codes was invalid and one was valid on the verify page the valid code would be marked as used.
2015-12-10 16:34:29 +00:00
Rebecca Law
bef2258803
109526520: Add custom validators for the VerifyForm
...
If the email_code or sms_code entered does not pass check password, then add errors to the form.
2015-12-09 10:12:21 +00:00
Rebecca Law
16618e80f9
109526520: Implement verify flow
...
When a person registers with a valid mobile number and email address,
a code will be sent to each. That person can enter the verify codes and continue to the add-service page.
2015-12-09 10:12:21 +00:00
Rebecca Law
56db1ad400
109526520: fix code style
2015-12-09 10:12:21 +00:00
Rebecca Law
6d47c01117
109526520: Implememt verify post method.
2015-12-09 10:12:20 +00:00
Rebecca Law
69da9f8f32
109526520: render verify template with VerifyForm
2015-12-09 10:12:20 +00:00