Replace all instances of 255 as a max length with 191; ref #2421

This commit is contained in:
Dane Everitt 2020-09-26 16:29:26 -07:00
parent 4f21fa85f8
commit cc6f98c0fd
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
24 changed files with 41 additions and 38 deletions

View file

@ -16,7 +16,7 @@ class BaseSettingsFormRequest extends AdminFormRequest
public function rules()
{
return [
'app:name' => 'required|string|max:255',
'app:name' => 'required|string|max:191',
'pterodactyl:auth:2fa_required' => 'required|integer|in:0,1,2',
'app:locale' => ['required', 'string', Rule::in(array_keys($this->getAvailableLanguages()))],
'app:analytics' => 'nullable|string',