mirror of https://github.com/MISP/MISP
fix: [servers] Adding a server now requires the name to be set, partially fixes #4889
parent
118fb6649b
commit
2105ad8691
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue