Ensure pack is set when rendering OTP prompt

Fixes #1230
This commit is contained in:
Thibaut Girka authored and ThibG committed 2019-10-10 17:08:00 +02:00
1 parent d2f7b8685c
commit bc0399d54d
1 file changed
+1
@@ -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