Allow more values for remote field when creating a database; closes #3842
This commit is contained in:
parent
b07fdc100c
commit
c751ce7f44
5 changed files with 22 additions and 10 deletions
|
@ -67,7 +67,7 @@ class Database extends Model
|
|||
'database' => 'required|string|alpha_dash|between:3,48',
|
||||
'username' => 'string|alpha_dash|between:3,100',
|
||||
'max_connections' => 'nullable|integer',
|
||||
'remote' => 'required|string|regex:/^[0-9%.]{1,15}$/',
|
||||
'remote' => 'required|string|regex:/^[\w\-\/.%:]+$/',
|
||||
'password' => 'string',
|
||||
];
|
||||
|
||||
|
|
Reference in a new issue