code: public function resendConfirmation(Request $request)
      {
          $model = $this->guard()->getProvider()->createModel();
  
          $user = $model->findOrFail($request->session()->pull('confirmation_user_id'));
          $this->sendConfirmationToUser($user);
  
          return redirect($this->redirectAfterResendConfirmationPath())->with('confirmation', __('confirmation::confirmation.confirmation_resent'));
      }
docs: Resend a confirmation code to a user.
  
  @param  \Illuminate\Http\Request  $request
  @return \Illuminate\Http\RedirectResponse