To show CAPTCHA after N unsuccessful attempts read this:
http://www.yiiframework.com/wiki/339/show-captcha-after-n-unsuccessfull-attempts
Simple CAPTCHA implementation in Russian:
http://yiiframework.ru/doc/cookbook/ru/form.captcha
Hope they will translate it soon to english
If you want to show different CAPTCHA on every user's new attempt to post/login/etc.. simply add
'testLimit'=>'1', in actions();
public function actions(){
return array(
'captcha'=>array(
'class'=>'CCaptchaAction',
'testLimit'=>'1',
),
);
}
http://www.yiiframework.com/wiki/339/show-captcha-after-n-unsuccessfull-attempts
Simple CAPTCHA implementation in Russian:
http://yiiframework.ru/doc/cookbook/ru/form.captcha
Hope they will translate it soon to english
If you want to show different CAPTCHA on every user's new attempt to post/login/etc.. simply add
'testLimit'=>'1', in actions();
public function actions(){
return array(
'captcha'=>array(
'class'=>'CCaptchaAction',
'testLimit'=>'1',
),
);
}
Hii
ReplyDeleteGreat one.You’ve mentioned steps which can be easily understood. I appreciate you for sharing this knowledge.Thank you so much for the examples.Its very helpful for me and newbies.I learned much .Have a look on yii2 development company,If you need any software solutions.