From bc0399d54dde2ad058a8382fc3edbe5506a92985 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 10 Oct 2019 16:50:09 +0200 Subject: [PATCH] Ensure pack is set when rendering OTP prompt Fixes #1230 --- app/controllers/auth/sessions_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb index efde02ac2a9..eac9dde6f28 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