Merge pull request #919 from deralexxx/patch-1

Update Whitelist.php
pull/926/head
Andras Iklody 2016-02-05 11:21:38 +01:00
commit 16daf1b545
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Whitelist extends AppModel {
),
'userdefined' => array(
'rule' => array('validateValue'),
'message' => 'Name not in the right format. Please double check the name.',
'message' => 'Name not in the right format. Whitelist entries have to be enclosed by a valid php delimiter (which can be most non-alphanumeric / non-whitespace character). Format: "/8.8.8.8/" Please double check the name.', //'allowEmpty' => false,
//'allowEmpty' => false,
//'required' => true,
//'last' => false, // Stop validation after this rule