public function resend()
    {
        if (!config('laravel2step.laravel2stepEnabled')) {
            abort(404);
        }

        $twoStepAuth = $this->_twoStepAuth;
        $this->sendVerificationCodeNotification($twoStepAuth);

        $returnData = [
            'title'   => trans('laravel2step::laravel-verification.verificationEmailSuccess'),
            'message' => trans('laravel2step::laravel-verification.verificationEmailSentMsg'),
        ];

        return response()->json($returnData, 200);
    }
public function resend()
    {
        if (!config('laravel2step.laravel2stepEnabled')) {
            abort(404);
        }

        $twoStepAuth = $this->_twoStepAuth;
        $this->sendVerificationCodeNotification($twoStepAuth);

        $returnData = [
            'title'   => trans('laravel2step::laravel-verification.verificationEmailSuccess'),
            'message' => trans('laravel2step::laravel-verification.verificationEmailSentMsg'),
        ];

        return response()->json($returnData, 200);
    }
public function resend ( ) { if ( ! config ( 'laravel2step.laravel2stepEnabled' ) ) { abort ( 404 ) ; } $ twoStepAuth = $ this -> _twoStepAuth ; $ this -> sendVerificationCodeNotification ( $ twoStepAuth ) ; $ returnData = [ 'title' => trans ( 'laravel2step::laravel-verification.verificationEmailSuccess' ) , 'message' => trans ( 'laravel2step::laravel-verification.verificationEmailSentMsg' ) , ] ; return response ( ) -> json ( $ returnData , 200 ) ; }
Resend the validation code triggered by user.

@return \Illuminate\Http\Response
Resend the validation code triggered by user .