mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
Fix validating captcha
This commit is contained in:
parent
a5d2659d98
commit
c01e362ae0
@ -176,7 +176,7 @@ class AuthController extends Controller
|
||||
public function handleForgot(Request $request)
|
||||
{
|
||||
$this->validate($request, [
|
||||
'captcha' => 'required'.(app()->environment('testing') ? '' : '|captcha'),
|
||||
'captcha' => ['required', new Captcha],
|
||||
]);
|
||||
|
||||
if (! config('mail.driver')) {
|
||||
|
Loading…
Reference in New Issue
Block a user