diff --git a/_protected/frontend/controllers/SiteController.php b/_protected/frontend/controllers/SiteController.php index 7795796..e5f8643 100644 --- a/_protected/frontend/controllers/SiteController.php +++ b/_protected/frontend/controllers/SiteController.php @@ -344,6 +344,6 @@ public function actionActivateAccount($token) Yii::$app->session->setFlash('success', Yii::t('app', 'Success! You can now log in.').' '. Yii::t('app', 'Thank you').' '.Html::encode($user->username).' '.Yii::t('app', 'for joining us!')); - return $this->redirect('login'); + return $this->redirect(['login']); } }