Commit 752037d9 by Carsten Brandt

removed value from client validation message

this is not what is actually beeing validated
parent 33f6e814
...@@ -113,7 +113,6 @@ class CaptchaValidator extends Validator ...@@ -113,7 +113,6 @@ class CaptchaValidator extends Validator
'caseSensitive' => $this->caseSensitive, 'caseSensitive' => $this->caseSensitive,
'message' => Html::encode(strtr($this->message, [ 'message' => Html::encode(strtr($this->message, [
'{attribute}' => $object->getAttributeLabel($attribute), '{attribute}' => $object->getAttributeLabel($attribute),
'{value}' => $object->$attribute,
])), ])),
]; ];
if ($this->skipOnEmpty) { if ($this->skipOnEmpty) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment