Small validation fix on reset password

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-04-30 19:10:07 -07:00
parent 8507bcd16b
commit e9cb17394c
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -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'],
]);
/** /**