Krucas\LaravelUserEmailVerification\VerifiesUsers::getResendLinkEmailFailureResponse PHP Method

getResendLinkEmailFailureResponse() protected method

Get the response for after the link could not be sent.
protected getResendLinkEmailFailureResponse ( string $response ) : Response
$response string
return Symfony\Component\HttpFoundation\Response
    protected function getResendLinkEmailFailureResponse($response)
    {
        return redirect()->back()->withErrors(['email' => trans($response)]);
    }