Add SELF_DESTRUCT env variable to process self-destructions in the background (#26439)

This commit is contained in:
Claire authored and GitHub committed 2023-10-23 15:46:21 +00:00
1 parent 26d2a2a0cc
commit 379115e601
22 files changed
+193 -57

No files matched your search

@@ -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