This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Ensure pack is set when rendering OTP prompt
Fixes
#1230
closed-social-glitch-2
Thibaut Girka
5 years ago
committed by
ThibG
parent
d2f7b8685c
commit
bc0399d54d
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/controllers/auth/sessions_controller.rb
+ 1
- 0
app/controllers/auth/sessions_controller.rb
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
Write
Preview
Loading…
Cancel
Save