diff --git a/app/Model/Server.php b/app/Model/Server.php index 29af76cd8..78c7b7a15 100755 --- a/app/Model/Server.php +++ b/app/Model/Server.php @@ -38,6 +38,11 @@ class Server extends AppModel { ) ), 'authkey' => array( + 'minlength' => array( + 'rule' => array('minlength', 40), + 'message' => 'A authkey of a minimum length of 40 is required.', + 'required' => true, + ), 'notempty' => array( 'rule' => array('notempty'), 'message' => 'Please enter a valid authentication key.',