mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 11:09:11 +08:00
Merge branch 'dev' of https://github.com/v2board/v2board into dev
This commit is contained in:
commit
627ff98882
@ -20,7 +20,6 @@ class AuthController extends Controller
|
|||||||
{
|
{
|
||||||
public function register(AuthRegister $request)
|
public function register(AuthRegister $request)
|
||||||
{
|
{
|
||||||
abort(500, __('passport.auth.register.verify_incorrect'));
|
|
||||||
if ((int)config('v2board.recaptcha_enable', 0)) {
|
if ((int)config('v2board.recaptcha_enable', 0)) {
|
||||||
$recaptcha = new ReCaptcha(config('v2board.recaptcha_key'));
|
$recaptcha = new ReCaptcha(config('v2board.recaptcha_key'));
|
||||||
$recaptchaResp = $recaptcha->verify($request->input('recaptcha_data'));
|
$recaptchaResp = $recaptcha->verify($request->input('recaptcha_data'));
|
||||||
|
Loading…
Reference in New Issue
Block a user