App\Http\Controllers\Frontend\Auth\ConfirmAccountController::sendConfirmationEmail PHP 메소드

sendConfirmationEmail() 공개 메소드

public sendConfirmationEmail ( User $user ) : mixed
$user app\Models\Access\User\User
리턴 mixed
    public function sendConfirmationEmail(User $user)
    {
        $user->notify(new UserNeedsConfirmation($user->confirmation_code));
        return redirect()->route('frontend.auth.login')->withFlashSuccess(trans('exceptions.frontend.auth.confirmation.resent'));
    }