From 26fba3816bd391997cf071231061baa5192dc129 Mon Sep 17 00:00:00 2001 From: Jing Li Date: Thu, 7 Dec 2023 15:29:49 +0800 Subject: [PATCH] Update --- app/Http/Controllers/AuthController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php index aa78ffd..3709f22 100644 --- a/app/Http/Controllers/AuthController.php +++ b/app/Http/Controllers/AuthController.php @@ -21,13 +21,13 @@ class AuthController extends Controller $request->validate([ 'username' => 'required', 'password' => 'required', - 'captcha_key' => 'required', - 'captcha_value' => 'required', + // 'captcha_key' => 'required', + // 'captcha_value' => 'required', ]); - if (! $captchaService->testPhrase($request->input('captcha_key'), $request->input('captcha_value'))) { - return $this->error('验证码错误'); - } + // if (! $captchaService->testPhrase($request->input('captcha_key'), $request->input('captcha_value'))) { + // return $this->error('验证码错误'); + // } $username = $request->input('username');