Robert Speicher
|
24bef5e67a
|
Handle password reset for users with 2FA enabled
|
2015-05-11 14:31:31 -04:00 |
|
Robert Speicher
|
5cd526f77f
|
Prevent "You are already signed in." error message upon 2FA login
|
2015-05-09 17:32:49 -04:00 |
|
Robert Speicher
|
c845347b23
|
Generate 10 2FA backup codes instead of the default of 5
|
2015-05-09 17:32:48 -04:00 |
|
Robert Speicher
|
5f43cae6ca
|
Add :two_factor trait to User factory
|
2015-05-09 17:32:48 -04:00 |
|
Robert Speicher
|
b050bb5bad
|
Fix 2FA backup code removal
|
2015-05-09 17:32:48 -04:00 |
|
Robert Speicher
|
32971b0af4
|
Refactor SessionsController
Also adds test case for providing an invalid 2FA code and then a valid
one without re-entering username and password.
|
2015-05-09 17:32:09 -04:00 |
|
Robert Speicher
|
5520397f04
|
Make two-factor login work and add a feature spec
|
2015-05-09 17:32:08 -04:00 |
|