1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00

validation requires nullable now in order to allow null values to pass the validation

This commit is contained in:
Daniel Klabbers
2018-02-02 11:38:06 +01:00
parent 0f49b62bcf
commit bcc239d468

View File

@@ -147,8 +147,8 @@ class InstallCommand extends AbstractCommand
'host' => 'required', 'host' => 'required',
'database' => 'required|string', 'database' => 'required|string',
'username' => 'required|string', 'username' => 'required|string',
'prefix' => 'alpha_dash|max:10', 'prefix' => 'nullable|alpha_dash|max:10',
'port' => 'integer|min:1|max:65535', 'port' => 'nullable|integer|min:1|max:65535',
] ]
); );