fix: [servers] Adding a server now requires the name to be set, partially fixes #4889

pull/4939/head
iglocska 2019-07-29 10:28:11 +02:00
parent 118fb6649b
commit 2105ad8691
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,11 @@ class Server extends AppModel
'authkey' => array(
'rule' => array('validateAuthkey')
),
'name' => array(
'rule' => array('notBlank'),
'allowEmpty' => false,
'required' => true
),
'org_id' => array(
'numeric' => array(
'rule' => array('valueIsID'),