Rebecca Law
0dd20abbb3
Replace Current service with chosen service name.
2016-01-28 17:20:34 +00:00
Nicholas Staples
e322a5f1c3
Review comment fixes.
2016-01-28 11:34:15 +00:00
Nicholas Staples
2d35f5f36a
All tests passing and merged with master.
2016-01-27 16:30:33 +00:00
Nicholas Staples
6959d695d3
Working tests, hopefully all code changes done.
2016-01-27 12:22:32 +00:00
Chris Hill-Scott
f15a59b0d6
Use 🐍 case in function names
2016-01-14 11:12:03 +00:00
Chris Hill-Scott
58317afdf1
Add page to choose services
...
Because a user can have multiple services, they need a way to navigate between
them. Normally they can use the ▶ Switcher to do this, except when:
- they first sign in
- they are on a page which isn’t associated with a service (eg user profile) in
which case we can’t use the switcher because it won’t know what the ‘current’
service is
So this commit adds a new page with a (fake) list of services.
2016-01-14 09:55:40 +00:00
Chris Hill-Scott
04b9c120d4
Add mocked service ID to all service-specific pages
2016-01-13 12:44:12 +00:00
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
1fd6ce9fe4
fix codestyle
2016-01-05 12:40:01 +00:00
Rebecca Law
931c6b2809
Add debugging to find issue.
2016-01-05 12:35:36 +00:00
minglis
e133baa6b3
Merge pull request #26 from alphagov/persis_verify_codes
...
Persis verify codes
2015-12-14 14:56:28 +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
1ce8170ce1
109526036:Mark the sms code as being used on the two-factor page
2015-12-10 16:38:34 +00:00
Rebecca Law
9ba229820a
109638656: Implementation of two factor verification
...
Validation of the code is done in the form, when the form.validate_on_submit is called the validate code methods are called as well.
2015-12-09 11:36:57 +00:00
Rebecca Law
2e59870490
109638656: Implement two factor verify flow
...
When user enters valid sms code they are redirected to the dashboard.
Otherwise, form errors are present.
2015-12-09 10:17:09 +00:00
Rebecca Law
c946f85f9d
109638656: Send sms code from sign-in post.
2015-12-09 10:16:30 +00:00
Rebecca Law
eae2756a5e
109638656: Initial implementation for two-factor
2015-12-09 10:15:41 +00:00