about summary refs log tree commit diff
path: root/app/controllers/concerns
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns')
-rw-r--r--app/controllers/concerns/sign_in_token_authentication_concern.rb1
-rw-r--r--app/controllers/concerns/two_factor_authentication_concern.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/sign_in_token_authentication_concern.rb b/app/controllers/concerns/sign_in_token_authentication_concern.rb
index 91f813acc..f5178930b 100644
--- a/app/controllers/concerns/sign_in_token_authentication_concern.rb
+++ b/app/controllers/concerns/sign_in_token_authentication_concern.rb
@@ -44,6 +44,7 @@ module SignInTokenAuthenticationConcern
 
     set_locale do
       session[:attempt_user_id] = user.id
+      use_pack 'auth'
       @body_classes = 'lighter'
       render :sign_in_token
     end
diff --git a/app/controllers/concerns/two_factor_authentication_concern.rb b/app/controllers/concerns/two_factor_authentication_concern.rb
index daafe56f4..35c0c27cf 100644
--- a/app/controllers/concerns/two_factor_authentication_concern.rb
+++ b/app/controllers/concerns/two_factor_authentication_concern.rb
@@ -42,6 +42,7 @@ module TwoFactorAuthenticationConcern
   def prompt_for_two_factor(user)
     set_locale do
       session[:attempt_user_id] = user.id
+      use_pack 'auth'
       @body_classes = 'lighter'
       render :two_factor
     end