From: Thibaut Girka Date: Thu, 10 Oct 2019 14:50:09 +0000 (+0200) Subject: Ensure pack is set when rendering OTP prompt X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=bc0399d54dde2ad058a8382fc3edbe5506a92985;p=mastodon.git Ensure pack is set when rendering OTP prompt Fixes #1230 --- 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