Skip to content

Commit 99fca4d

Browse files
authored
Update RegisterController.php
1 parent c6e3d6e commit 99fca4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Http/Controllers/Auth/RegisterController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public function __construct()
4848
protected function validator(array $data)
4949
{
5050
return Validator::make($data, [
51-
'name' => 'required|max:255',
52-
'email' => 'required|email|max:255|unique:users',
53-
'password' => 'required|min:6|confirmed',
51+
'name' => 'required|string|max:255',
52+
'email' => 'required|string|email|max:255|unique:users',
53+
'password' => 'required|string|min:6|confirmed',
5454
]);
5555
}
5656

0 commit comments

Comments
 (0)