This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/config/initializers
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
..
application_controller_renderer.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
assets.rb Localizations for most server-side strings 2016-11-16 00:55:33 +01:00
backtrace_silencers.rb Initial commit 2016-02-20 22:53:20 +01:00
blacklists.rb Quick best practice cleanup of views/helpers (#1546) 2017-04-12 18:24:18 +02:00
cookies_serializer.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
devise.rb Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
doorkeeper.rb Restrict access to oauth/applications to admins only 2016-10-23 12:08:52 +02:00
filter_parameter_logging.rb Added optional two-factor authentication 2017-01-27 20:35:16 +01:00
httplog.rb Version bumps for ruby and misc gems (#1159) 2017-04-10 22:47:41 +02:00
inflections.rb Fix #463 - Fetch and display previews of URLs using OpenGraph tags 2017-01-20 01:00:14 +01:00
instrumentation.rb Improve StatsD instrumentation 2017-01-26 19:08:05 +01:00
kaminari_config.rb Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
mime_types.rb Reuse existing controller and route 2017-02-06 01:19:26 -08:00
new_framework_defaults.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
open_uri_redirection.rb Federate header images, fix open-uri http->https redirection error 2017-03-18 22:51:20 +01:00
ostatus.rb Allow running mastodon on a different domain as the one used for identifying users (#1267) 2017-04-15 02:15:46 +02:00
pagination.rb Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
paperclip.rb Custom Paperclip path. (#778) 2017-04-15 02:07:21 +02:00
rabl_init.rb Make sure Rabl is using Oj 2017-04-05 19:29:30 +02:00
rack-attack.rb Obfuscate filenames better, double rate limits 2017-03-14 15:59:21 +01:00
redis.rb Add Heroku deployment support 2017-01-17 22:00:03 +11:00
session_store.rb Make cookies https-only if LOCAL_HTTPS is true, set X-Frame-Options to DENY, 2016-11-02 12:58:15 +01:00
sidekiq.rb Add REDIS_DB env variable to configure Redis database (#1366) 2017-04-15 02:21:13 +02:00
simple_form.rb Update settings to re-use admin layout, one big navigation tree, improve settings forms 2017-01-28 03:56:10 +01:00
single_user_mode.rb Add single user mode 2016-12-06 17:19:26 +01:00
statsd.rb Fix key names in statsd 2017-01-26 19:46:52 +01:00
timeout.rb Add proper error page for request timeouts 2017-04-02 19:43:44 +02:00
trusted_proxies.rb Fix error 2017-01-22 23:07:31 +01:00
wrap_parameters.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00