public function resend(Request $request)
    {
        if ($request->user()->hasVerifiedEmail()) {
            return redirect($this->redirectPath());
        }

        $request->user()->sendEmailVerificationNotification();

        return back()->with('resent', true);
    }
public function resend(Request $request)
    {
        if ($request->user()->hasVerifiedEmail()) {
            return redirect($this->redirectPath());
        }

        $request->user()->sendEmailVerificationNotification();

        return back()->with('resent', true);
    }
public function resend ( Request $ request ) { if ( $ request -> user ( ) -> hasVerifiedEmail ( ) ) { return redirect ( $ this -> redirectPath ( ) ) ; } $ request -> user ( ) -> sendEmailVerificationNotification ( ) ; return back ( ) -> with ( 'resent' , true ) ; }
Resend the email verification notification.

@param  \Illuminate\Http\Request  $request
@return \Illuminate\Http\Response
Resend the email verification notification .