This commit is contained in:
tokumeikoi 2021-01-21 23:29:34 +09:00
commit 627ff98882

View File

@ -20,7 +20,6 @@ class AuthController extends Controller
{
public function register(AuthRegister $request)
{
abort(500, __('passport.auth.register.verify_incorrect'));
if ((int)config('v2board.recaptcha_enable', 0)) {
$recaptcha = new ReCaptcha(config('v2board.recaptcha_key'));
$recaptchaResp = $recaptcha->verify($request->input('recaptcha_data'));