1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/controllers
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
2017-04-15 13:26:03 +02:00
..
admin Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
api Fix issue with intermittent api/v1/notifications failure (#1606) 2017-04-12 15:53:54 +02:00
auth Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
oauth Fix OAuth authorization page and add a spec for it 2016-11-18 23:10:44 +01:00
settings Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
well_known Clean up well-known routes/controllers (#1649) 2017-04-13 13:09:07 +02:00
about_controller_spec.rb Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
accounts_controller_spec.rb Add test 2017-02-06 12:14:02 -08:00
authorize_follow_controller_spec.rb Add ability to use remote follow function on other sites 2016-12-29 16:54:54 +01:00
home_controller_spec.rb Fix OAuth authorization page and add a spec for it 2016-11-18 23:10:44 +01:00
stream_entries_controller_spec.rb Simplify the way the embed view is created (#1590) 2017-04-12 16:12:42 +02:00
tags_controller_spec.rb Fix OAuth authorization page and add a spec for it 2016-11-18 23:10:44 +01:00