mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update RegisterController
This commit is contained in:
parent
3565f73a5e
commit
b7c7757cff
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class RegisterController extends Controller
|
||||||
];
|
];
|
||||||
|
|
||||||
$rules = [
|
$rules = [
|
||||||
'name' => 'required|string|max' . config('pixelfed.max_name_length'),
|
'name' => 'required|string|max:' . config('pixelfed.max_name_length'),
|
||||||
'username' => $usernameRules,
|
'username' => $usernameRules,
|
||||||
'email' => 'required|string|email|max:255|unique:users',
|
'email' => 'required|string|email|max:255|unique:users',
|
||||||
'password' => 'required|string|min:6|confirmed',
|
'password' => 'required|string|min:6|confirmed',
|
||||||
|
|
Loading…
Reference in a new issue