mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 21:33:21 +00:00
parent
1653b58777
commit
58755439ac
|
@ -26,7 +26,7 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
|
||||||
|
|
||||||
def after_resending_confirmation_instructions_path_for(_resource_name)
|
def after_resending_confirmation_instructions_path_for(_resource_name)
|
||||||
if user_signed_in?
|
if user_signed_in?
|
||||||
if user.confirmed? && user.approved?
|
if current_user.confirmed? && current_user.approved?
|
||||||
edit_user_registration_path
|
edit_user_registration_path
|
||||||
else
|
else
|
||||||
auth_setup_path
|
auth_setup_path
|
||||||
|
|
Loading…
Reference in a new issue