We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6e3d6e + 99fca4d commit bc91dcaCopy full SHA for bc91dca
app/Http/Controllers/Auth/RegisterController.php
@@ -48,9 +48,9 @@ public function __construct()
48
protected function validator(array $data)
49
{
50
return Validator::make($data, [
51
- 'name' => 'required|max:255',
52
- 'email' => 'required|email|max:255|unique:users',
53
- 'password' => 'required|min:6|confirmed',
+ 'name' => 'required|string|max:255',
+ 'email' => 'required|string|email|max:255|unique:users',
+ 'password' => 'required|string|min:6|confirmed',
54
]);
55
}
56
0 commit comments