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 Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
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 Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
accounts_controller.rb Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
api_controller.rb Do not store last visited URL from API controllers (#1330) 2017-04-09 22:21:52 +02:00
application_controller.rb Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
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 Clean up generation of account webfinger string (#1477) 2017-04-10 22:58:06 +02:00
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