@@ -13,7 +13,7 @@ class SiteController extends Controller
{
return array(
'captcha' => array(
- 'class' => 'yii\web\CaptchaAction',
+ 'class' => 'yii\captcha\CaptchaAction',
'fixedVerifyCode' => YII_ENV_DEV ? 'testme' : null,
),
);
@@ -1,7 +1,7 @@
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
-use yii\widgets\Captcha;
+use yii\captcha\Captcha;
/**
* @var yii\base\View $this