mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-06 01:41:08 +00:00
feature/require-mfa-by-admin - Update Flash
This commit is contained in:
parent
6fda7a9f56
commit
7a957b1f49
|
@ -4,7 +4,7 @@ module MfaForceConcern
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
included do
|
included do
|
||||||
before_action :check_mfa_requirement, if: :user_signed_in?
|
prepend_before_action :check_mfa_requirement, if: :user_signed_in?
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue
Block a user