mastodon/app/models
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
..
concerns
form Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) 2017-04-08 22:20:08 +02:00
web
account.rb When avatar/header are GIF, generate static versions (#1428) 2017-04-11 00:38:58 +02:00
account_filter.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
application_record.rb
block.rb add more tests to models 2017-04-05 00:29:56 +02:00
domain_block.rb
export.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb
feed.rb Only call regeneration worker after first login after a 14 day break 2017-04-04 02:00:10 +02:00
follow.rb fix rubocop issues 2017-04-05 00:47:17 +02:00
follow_request.rb add more tests to models 2017-04-05 00:29:56 +02:00
import.rb Allow import/export of mutes list (#1541) 2017-04-12 18:20:44 +02:00
media_attachment.rb
mention.rb add more tests to models 2017-04-05 00:29:56 +02:00
mute.rb
notification.rb API param to exclude notification types from response (#1341) 2017-04-10 23:45:29 +02:00
preview_card.rb
remote_follow.rb
report.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
setting.rb
status.rb Fix #1339 - better Atom titles (#1343) 2017-04-09 20:55:54 +02:00
stream_entry.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
subscription.rb
tag.rb Search cleanup (#1333) 2017-04-09 14:45:01 +02:00
user.rb Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
web.rb