mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Small validation fix on reset password
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
8507bcd16b
commit
e9cb17394c
|
@ -58,8 +58,11 @@ class ForgotPasswordController extends Controller
|
||||||
* buffer overflow issues with attackers sending very large
|
* buffer overflow issues with attackers sending very large
|
||||||
* payloads through.
|
* payloads through.
|
||||||
*/
|
*/
|
||||||
$this->validate($request->validate([
|
|
||||||
'email' => 'required|email|max:255']));
|
$request->validate([
|
||||||
|
'email' => ['required', 'email', 'max:255'],
|
||||||
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue