Code formatting
This commit is contained in:
@ -13,9 +13,9 @@ class CaptchaValidator extends Validator
|
||||
{
|
||||
|
||||
const WRONG_CODE = 'is_empty';
|
||||
|
||||
|
||||
protected $templates = array(self::WRONG_CODE => 'Entered code wrong');
|
||||
|
||||
|
||||
public function isValid($value, $context = null)
|
||||
{
|
||||
if (!$context || !isset($context['ctoken']) || !isset($context['ccode'])) {
|
||||
|
Reference in New Issue
Block a user