App\Http\Controllers\CaptchaController::naverReissue PHP Method

naverReissue() public method

public naverReissue ( )
    public function naverReissue()
    {
        if (config('captcha.driver') !== 'naver') {
            abort(403);
        }
        /** @var NaverCaptcha $service */
        $service = app('xe.captcha')->driver('naver');
        $key = $service->issue();
        return XePresenter::makeApi(['key' => $key, 'img' => $service->getImgSrc($key)]);
    }
CaptchaController