mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-07 10:55:06 +01:00
parent
d2f7b8685c
commit
bc0399d54d
@ -108,6 +108,7 @@ class Auth::SessionsController < Devise::SessionsController
|
|||||||
|
|
||||||
def prompt_for_two_factor(user)
|
def prompt_for_two_factor(user)
|
||||||
session[:otp_user_id] = user.id
|
session[:otp_user_id] = user.id
|
||||||
|
use_pack 'auth'
|
||||||
@body_classes = 'lighter'
|
@body_classes = 'lighter'
|
||||||
render :two_factor
|
render :two_factor
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user