Unverified Commit 58755439 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix wrong variable regression from #11753 (#11763)

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -26,7 +26,7 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
def after_resending_confirmation_instructions_path_for(_resource_name)
if user_signed_in?
if user.confirmed? && user.approved?
if current_user.confirmed? && current_user.approved?
edit_user_registration_path
else
auth_setup_path
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment