mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-22 02:06:53 -05:00
Add ability to require 2FA for specific roles (including Everybody) (#37701)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Settings
|
||||
module TwoFactorAuthentication
|
||||
class BaseController < ::Settings::BaseController
|
||||
layout -> { truthy_param?(:oauth) ? 'modal' : 'admin' }
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user