From 13def98308705cce2e2e21402a8bcbefe076eee8 Mon Sep 17 00:00:00 2001 From: Guillaume Briday Date: Sun, 17 Jun 2018 11:03:44 +0200 Subject: [PATCH] Fixing UserRequest password validation --- app/Http/Requests/User/UserRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/User/UserRequest.php b/app/Http/Requests/User/UserRequest.php index 2272579..2978dd8 100644 --- a/app/Http/Requests/User/UserRequest.php +++ b/app/Http/Requests/User/UserRequest.php @@ -34,7 +34,7 @@ public function rules(): array 'required_with:password', new CurrentPassword ], - 'password' => 'confirmed' + 'password' => 'string|min:6|confirmed' ]; } }