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/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
9 years ago
..
application_controller_renderer.rb Upgrade to Rails 5.0.0.1 9 years ago
assets.rb Localizations for most server-side strings 9 years ago
backtrace_silencers.rb Initial commit 10 years ago
blacklists.rb Quick best practice cleanup of views/helpers (#1546) 9 years ago
cookies_serializer.rb Upgrade to Rails 5.0.0.1 9 years ago
devise.rb Add recovery code support for two-factor auth (#1773) 9 years ago
doorkeeper.rb Restrict access to oauth/applications to admins only 9 years ago
filter_parameter_logging.rb Added optional two-factor authentication 9 years ago
httplog.rb Version bumps for ruby and misc gems (#1159) 9 years ago
inflections.rb Fix #463 - Fetch and display previews of URLs using OpenGraph tags 9 years ago
instrumentation.rb Improve StatsD instrumentation 9 years ago
kaminari_config.rb Pagination improvements (#1445) 9 years ago
mime_types.rb Reuse existing controller and route 9 years ago
new_framework_defaults.rb Upgrade to Rails 5.0.0.1 9 years ago
open_uri_redirection.rb Federate header images, fix open-uri http->https redirection error 9 years ago
ostatus.rb Allow running mastodon on a different domain as the one used for identifying users (#1267) 9 years ago
pagination.rb Pagination improvements (#1445) 9 years ago
paperclip.rb Custom Paperclip path. (#778) 9 years ago
rabl_init.rb Make sure Rabl is using Oj 9 years ago
rack-attack.rb Obfuscate filenames better, double rate limits 9 years ago
redis.rb Add Heroku deployment support 9 years ago
session_store.rb Make cookies https-only if LOCAL_HTTPS is true, set X-Frame-Options to DENY, 9 years ago
sidekiq.rb Add REDIS_DB env variable to configure Redis database (#1366) 9 years ago
simple_form.rb Update settings to re-use admin layout, one big navigation tree, improve settings forms 9 years ago
single_user_mode.rb Add single user mode 9 years ago
statsd.rb Fix key names in statsd 9 years ago
timeout.rb Add proper error page for request timeouts 9 years ago
trusted_proxies.rb Fix error 9 years ago
wrap_parameters.rb Upgrade to Rails 5.0.0.1 9 years ago