sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

Wrong use of Captcha Check Requirements #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
line 42 from registration/models/YumRegistrationForm.php

$rules[] = array('verifyCode', 'captcha',
   'allowEmpty'=>CCaptcha::checkRequirements()); 

Must be
$rules[] = array('verifyCode', 'captcha',
   'allowEmpty'=>!CCaptcha::checkRequirements()); 

In order to let be empty the verifyCode text box

Original issue reported on code.google.com by dgeape...@gmail.com on 20 Sep 2011 at 5:05

GoogleCodeExporter commented 9 years ago
thank you, i fixed this in the git repository.

Original comment by thyseus on 15 Oct 2012 at 10:08