Update RegisterController.php

change max limit to 25
This commit is contained in:
3UR 2022-03-08 00:07:18 +10:00 committed by Connor
parent aa42d363e3
commit 6a5deace0f
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class RegisterController extends Controller
return Validator::make($data, [
'username' => ['required', 'string', 'min:3', 'max:20', 'unique:users', 'alpha_num'],
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
'password' => ['required', 'string', 'min:4', 'confirmed'],
'password' => ['required', 'string', 'min:4', 'max:25', 'confirmed'],
'invite_key' => ['string', new InviteKeyRule()]
]);
}