Revert some refactoring in order to make codebase closer to upstream

This commit is contained in:
Thibaut Girka committed 2019-07-23 10:51:12 +02:00
1 parent 444796b69b
commit 8a89a2b0f4
12 files changed
+42 -4

No files matched your search

@@ -3,6 +3,9 @@
module Settings
module TwoFactorAuthentication
class ConfirmationsController < BaseController
layout 'admin'
before_action :authenticate_user!
before_action :ensure_otp_secret
skip_before_action :require_functional!
@@ -3,6 +3,10 @@
module Settings
module TwoFactorAuthentication
class RecoveryCodesController < BaseController
layout 'admin'
before_action :authenticate_user!
skip_before_action :require_functional!
def create