Ensure pack is set when rendering OTP prompt

Fixes #1230
lolsob-rspec
Thibaut Girka 2019-10-10 16:50:09 +02:00 committed by ThibG
parent 10238768b4
commit 026da037a3
1 changed files with 1 additions and 0 deletions

View File

@ -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