1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/config/initializers
Patrick Figel df4ff9a8e1 Add recovery code support for two-factor auth ()
* 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  and fixes 

* 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
assets.rb
backtrace_silencers.rb
blacklists.rb Quick best practice cleanup of views/helpers () 2017-04-12 18:24:18 +02:00
cookies_serializer.rb
devise.rb Add recovery code support for two-factor auth () 2017-04-15 13:26:03 +02:00
doorkeeper.rb
filter_parameter_logging.rb
httplog.rb Version bumps for ruby and misc gems () 2017-04-10 22:47:41 +02:00
inflections.rb
instrumentation.rb
kaminari_config.rb Pagination improvements () 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
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 () 2017-04-15 02:15:46 +02:00
pagination.rb Pagination improvements () 2017-04-11 01:11:41 +02:00
paperclip.rb Custom Paperclip path. () 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
session_store.rb
sidekiq.rb Add REDIS_DB env variable to configure Redis database () 2017-04-15 02:21:13 +02:00
simple_form.rb
single_user_mode.rb
statsd.rb
timeout.rb Add proper error page for request timeouts 2017-04-02 19:43:44 +02:00
trusted_proxies.rb
wrap_parameters.rb