Fix always redirecting to onboarding in web UI (#25396)
This commit is contained in:
		@@ -83,8 +83,10 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
 | 
			
		||||
  def after_confirmation_path_for(_resource_name, user)
 | 
			
		||||
    if user.created_by_application && truthy_param?(:redirect_to_app)
 | 
			
		||||
      user.created_by_application.confirmation_redirect_uri
 | 
			
		||||
    elsif user_signed_in?
 | 
			
		||||
      web_url('start')
 | 
			
		||||
    else
 | 
			
		||||
      super
 | 
			
		||||
      new_user_session_path
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user