Add SELF_DESTRUCT env variable to process self-destructions in the background (#26439)
This commit is contained in:
@@ -4,6 +4,7 @@ module Settings
|
||||
class TwoFactorAuthenticationMethodsController < BaseController
|
||||
include ChallengableConcern
|
||||
|
||||
skip_before_action :check_self_destruct!
|
||||
skip_before_action :require_functional!
|
||||
|
||||
before_action :require_challenge!, only: :disable
|
||||
|
||||
Reference in New Issue
Block a user