diff --git a/controllers/InstallController.php b/controllers/InstallController.php index bf520c7..3e04f08 100644 --- a/controllers/InstallController.php +++ b/controllers/InstallController.php @@ -61,8 +61,8 @@ public function actionIndex() public function actionFinish() { - $root_password = Yii::$app->session->getFlash(InstallForm::ROOT_PASSWORD_KEY, null, true); - $returnRoute = Yii::$app->session->getFlash(InstallForm::RETURN_URL_KEY, null, '/admin'); + $root_password = Yii::$app->session->getFlash(InstallForm::ROOT_PASSWORD_KEY, true); + $returnRoute = Yii::$app->session->getFlash(InstallForm::RETURN_URL_KEY, '/admin'); if($root_password) {