@@ 44-52 (lines=9) @@ | ||
41 | ]); |
|
42 | } |
|
43 | ||
44 | public function actions() |
|
45 | { |
|
46 | return ArrayHelper::merge(parent::actions(), [ |
|
47 | 'captcha' => [ |
|
48 | 'class' => 'yii\captcha\CaptchaAction', |
|
49 | 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null, |
|
50 | ], |
|
51 | ]); |
|
52 | } |
|
53 | ||
54 | /** |
|
55 | * Displays contacts page. |
@@ 45-53 (lines=9) @@ | ||
42 | /** |
|
43 | * @inheritdoc |
|
44 | */ |
|
45 | public function actions() |
|
46 | { |
|
47 | return ArrayHelper::merge(parent::actions(), [ |
|
48 | 'captcha' => [ |
|
49 | 'class' => 'yii\captcha\CaptchaAction', |
|
50 | 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null, |
|
51 | ], |
|
52 | ]); |
|
53 | } |
|
54 | ||
55 | /** |
|
56 | * Login action. |