diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-10-10 16:50:09 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-10-10 17:08:00 +0200 |
commit | bc0399d54dde2ad058a8382fc3edbe5506a92985 (patch) | |
tree | bd58a7971affbd3fdc7afe4345696a8f8f413a0d | |
parent | d2f7b8685cfd0ec9b69af505b56c791d9b5f1c82 (diff) |
Ensure pack is set when rendering OTP prompt
Fixes #1230
-rw-r--r-- | app/controllers/auth/sessions_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb index efde02ac2..eac9dde6f 100644 --- a/app/controllers/auth/sessions_controller.rb +++ b/app/controllers/auth/sessions_controller.rb @@ -108,6 +108,7 @@ class Auth::SessionsController < Devise::SessionsController def prompt_for_two_factor(user) session[:otp_user_id] = user.id + use_pack 'auth' @body_classes = 'lighter' render :two_factor end |