mastodon/config/mfa.yml
2025-07-23 00:50:42 -05:00

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' %>