chinwagsocial/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
web Persist UI settings, add missing localizations for German 2017-01-09 14:00:55 +01:00
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
domain_block.rb Split public timeline into "public timeline" which is local, and 2017-02-19 20:25:54 +01:00
export.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb
feed.rb
follow.rb
follow_request.rb
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 Fix #231 - Muting 2017-03-02 18:49:32 +01:00
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
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