mastodon/app/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 Allow running mastodon on a different domain as the one used for identifying users (#1267) 2017-04-15 02:15:46 +02:00
auth Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
concerns Improve i18n chooser (#1804) 2017-04-15 01:12:39 +02:00
oauth
settings Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
well_known Clean up well-known routes/controllers (#1649) 2017-04-13 13:09:07 +02:00
about_controller.rb
accounts_controller.rb
api_controller.rb
application_controller.rb
authorize_follow_controller.rb
home_controller.rb Send initial state in a <script type="application/json"> tag (#1806) 2017-04-15 02:32:42 +02:00
media_controller.rb
remote_follow_controller.rb
statuses_controller.rb
stream_entries_controller.rb Simplify the way the embed view is created (#1590) 2017-04-12 16:12:42 +02:00
tags_controller.rb