You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
admin Admin reports controller improvements (#1714) 8 years ago
api Fix issue with intermittent api/v1/notifications failure (#1606) 8 years ago
auth Add recovery code support for two-factor auth (#1773) 8 years ago
oauth Fix OAuth authorization page and add a spec for it 8 years ago
settings Settings export refactor (#1646) 8 years ago
well_known Clean up well-known routes/controllers (#1649) 8 years ago
about_controller_spec.rb Clean up about page (#1282) 8 years ago
accounts_controller_spec.rb Add test 8 years ago
authorize_follow_controller_spec.rb Add ability to use remote follow function on other sites 8 years ago
home_controller_spec.rb Fix OAuth authorization page and add a spec for it 8 years ago
stream_entries_controller_spec.rb Simplify the way the embed view is created (#1590) 8 years ago
tags_controller_spec.rb Fix OAuth authorization page and add a spec for it 8 years ago