Update RegisterController

This commit is contained in:
Daniel Supernault 2018-08-27 11:24:28 -06:00
parent 3565f73a5e
commit b7c7757cff
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class RegisterController extends Controller
];
$rules = [
'name' => 'required|string|max' . config('pixelfed.max_name_length'),
'name' => 'required|string|max:' . config('pixelfed.max_name_length'),
'username' => $usernameRules,
'email' => 'required|string|email|max:255|unique:users',
'password' => 'required|string|min:6|confirmed',