Adam Shimali
b775b60633
In registration flow then request resend of sms should
...
redirect to verify not two-factor.
2016-03-21 14:00:05 +00:00
Adam Shimali
792b42017a
Revert "In registration flow If new sms requested then check and send redirected to two factor"
2016-03-21 13:44:53 +00:00
Adam Shimali
c2c98248a1
If new sms requested, then check and send redirected to two factor
...
in all cases but should have redirected to verify for pending users.
2016-03-21 12:32:07 +00:00
Adam Shimali
2792bece54
Changed registration flow to first send email verification link that
...
when visited sends sms code for second step of account verification.
At that second step user enters just sms code sent to users mobile
number.
Also moved dao calls that simply proxied calls to client to calling
client directly.
There is still a place where a user will be a sent a code for
verification to their email namely if they update email address.
2016-03-17 15:19:51 +00:00
Nicholas Staples
980c01e10c
Fix bug with send_verify_code not including the to field.
2016-02-22 12:33:59 +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
Rebecca Law
05695a1c03
Updated generate_token to use encrypt the entire url.
...
Created notify_client.sender to hold the methods to send notifications.
2016-01-11 15:18:37 +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
0ebacd6929
Refactor for code_not_received, sign_in, two_factor and verify.
2016-01-05 17:08:50 +00:00
Rebecca Law
b2f544a165
110880218: Completed implementation of resend the verificaton code
2015-12-31 13:16:59 +00:00
Rebecca Law
fb5e80e0d4
110880218: Implementation to resend the verification code.
...
Added implementation for GET/POST for the /verification-not-received endpoint.
2015-12-31 11:13:42 +00:00
Rebecca Law
64812c1614
109898688: All codes are valid until one code is used, then they are all marked used.
...
Fixed the is_active() method on the Users model, if the user was pending they would come back as active, allowing a user to sign in before being active.
There is still a problem with the validate_sms_code and validate_email_code method.
2015-12-17 14:33:20 +00:00
Rebecca Law
bd8bb3c926
109898688: Implementation of text-not-received and email-not-received
2015-12-17 14:33:20 +00:00
Rebecca Law
e9383b733e
109898688: Implement get method for email-not-received and text-not-received
2015-12-17 14:33:20 +00:00