Commit Graph

9 Commits (072c6f1527177edc53f246a3f701d5f06349de4a)

Author SHA1 Message Date
Patrick Figel df4ff9a8e1 Add recovery code support for two-factor auth (#1773)
* Add recovery code support for two-factor auth

When users enable two-factor auth, the app now generates ten
single-use recovery codes. Users are encouraged to print the codes
and store them in a safe place.

The two-factor prompt during login now accepts both OTP codes and
recovery codes.

The two-factor settings UI allows users to regenerated lost
recovery codes. Users who have set up two-factor auth prior to
this feature being added can use it to generate recovery codes
for the first time.

Fixes #563 and fixes #987

* Set OTP_SECRET in test enviroment

* add missing .html to view file names
8 years ago
Daijiro Wachi 4f781b17cc Use input type `number` for Two-factor code (#1683) 8 years ago
Eugen Rochko 23b997ae55 Split 2FA login into two prompts 8 years ago
Eugen Rochko ba192f12e3 Added optional two-factor authentication 8 years ago
Eugen Rochko 3ce6ac0ce2 Adding some localizations 8 years ago
Eugen Rochko 159203a7bc Fix #136: Add aria-labels 8 years ago
Eugen Rochko 43df35213e Improving all forms 8 years ago
Eugen Rochko 9b195f5dd3 Add window titles to auth pages and about page, link sign up/login from about page 8 years ago
Eugen Rochko 6045b6cb18 Customizing devise views and controllers 9 years ago