1
0
Fork 1
forked from fedi/mastodon
mastodon/app/views
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
..
about Implementing Subresource Integrity (#1729) 2017-04-14 11:09:20 +02:00
accounts significant improvement in microformats markup (#1063) 2017-04-12 20:04:33 +02:00
activitypub Add AS2 format to RABL files 2017-02-06 17:00:55 -08:00
admin Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
api When avatar/header are GIF, generate static versions (#1428) 2017-04-11 00:38:58 +02:00
auth Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
authorize_follow Quick best practice cleanup of views/helpers (#1546) 2017-04-12 18:24:18 +02:00
errors Make Reporting admin section translatable (#1549) 2017-04-12 17:11:49 +02:00
home Send initial state in a <script type="application/json"> tag (#1806) 2017-04-15 02:32:42 +02:00
kaminari Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
layouts Implementing Subresource Integrity (#1729) 2017-04-14 11:09:20 +02:00
notification_mailer Add digest e-mails 2017-03-04 00:00:48 +01:00
oauth Allow setting of default language through config 2017-04-07 12:40:26 +02:00
remote_follow Adding remote follow button 2017-01-01 19:54:34 +01:00
settings Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
shared Fix issue with missing emojify class in views (#1455) 2017-04-10 21:27:52 +02:00
stream_entries Do not show media attachment as og:image if it was marked as NSFW (#1693) 2017-04-13 15:59:43 +02:00
tags Use site title on tags#show page (#1802) 2017-04-15 02:37:20 +02:00
user_mailer Make Reporting admin section translatable (#1549) 2017-04-12 17:11:49 +02:00
well_known Clean up well-known routes/controllers (#1649) 2017-04-13 13:09:07 +02:00