Skip to content

Commit

Permalink
Fixing UserRequest password validation
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday committed Jun 17, 2018
1 parent 3dd4fc0 commit 13def98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Requests/User/UserRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function rules(): array
'required_with:password',
new CurrentPassword
],
'password' => 'confirmed'
'password' => 'string|min:6|confirmed'
];
}
}

0 comments on commit 13def98

Please sign in to comment.