mdmsoft / yii2-captcha

Captcha with math equation
39 stars 8 forks source link

Cannot use in view #4

Open yiqiang opened 9 years ago

yiqiang commented 9 years ago

basically i installed and change the controller, however it is not appearing in my view

my view use yii\captcha\Captcha; <?= $form->field($model, 'captcha')->widget(Captcha::className(),['imageOptions'=>['style'=>'width:100px;height:50px;']]) ?>

it still shows old captcha

mdmunir commented 9 years ago

You need to change your SiteController. Read this https://github.com/mdmsoft/yii2-captcha#usage

skyq commented 7 years ago

Write normal manual !!!