code: public function redirectAfterRegistrationPath()
      {
          if (method_exists($this, 'redirectAfterRegistrationTo')) {
              return $this->redirectAfterRegistrationTo();
          }
  
          return property_exists($this, 'redirectAfterRegistrationTo') ? $this->redirectAfterRegistrationTo : route('login');
      }
docs: Get redirect path after a registration that still needs to be confirmed.
  
  @return string