mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-20 16:51:02 -05:00
(Update) Add captcha support
Overriding function validateEmail with captcha condition
This commit is contained in:
@@ -35,8 +35,8 @@ class ForgotPasswordController extends Controller
|
||||
}
|
||||
else{
|
||||
$request->validate([
|
||||
'email' => 'required|email',
|
||||
'g-recaptcha-response' => 'required|recaptcha',
|
||||
'email' => 'required|email',
|
||||
'g-recaptcha-response' => 'required|recaptcha',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user