Browse Source

Merge branch 'master' of git://github.com/yiisoft/yii2

tags/2.0.7
Tom Worster 9 years ago
parent
commit
89cfb243bb
  1. 2
      framework/captcha/CaptchaAction.php

2
framework/captcha/CaptchaAction.php

@ -184,7 +184,7 @@ class CaptchaAction extends Action
$session = Yii::$app->getSession();
$session->open();
$name = $this->getSessionKey() . 'count';
++$session[$name];
$session[$name] = $session[$name] + 1;
if ($valid || $session[$name] > $this->testLimit && $this->testLimit > 0) {
$this->getVerifyCode(true);
}

Loading…
Cancel
Save