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/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
8 years ago
..
concerns
form Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) 8 years ago
web
account.rb When avatar/header are GIF, generate static versions (#1428) 8 years ago
account_filter.rb Admin accounts controller cleanup (#1664) 8 years ago
application_record.rb
block.rb
domain_block.rb
export.rb Settings export refactor (#1646) 8 years ago
favourite.rb
feed.rb
follow.rb
follow_request.rb
import.rb Allow import/export of mutes list (#1541) 8 years ago
media_attachment.rb
mention.rb
mute.rb
notification.rb API param to exclude notification types from response (#1341) 8 years ago
preview_card.rb
remote_follow.rb
report.rb Admin reports controller improvements (#1714) 8 years ago
setting.rb
status.rb Fix #1339 - better Atom titles (#1343) 8 years ago
stream_entry.rb
subscription.rb
tag.rb Search cleanup (#1333) 8 years ago
user.rb Add recovery code support for two-factor auth (#1773) 8 years ago
web.rb