mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 17:31:12 +00:00
16 lines
351 B
YAML
16 lines
351 B
YAML
# Multi-Factor Authentication configuration
|
|
default: &default
|
|
force_enabled: false
|
|
|
|
development:
|
|
<<: *default
|
|
force_enabled: <%= ENV.fetch('REQUIRE_MULTI_FACTOR_AUTH', 'false') == 'true' %>
|
|
|
|
test:
|
|
<<: *default
|
|
force_enabled: false
|
|
|
|
production:
|
|
<<: *default
|
|
force_enabled: <%= ENV.fetch('REQUIRE_MULTI_FACTOR_AUTH', 'false') == 'true' %>
|