diff --git a/backend/controllers/SiteController.php b/backend/controllers/SiteController.php index 8f1acca..709758f 100755 --- a/backend/controllers/SiteController.php +++ b/backend/controllers/SiteController.php @@ -1,13 +1,13 @@ analytics_key )) { return $this->render('instruction'); } else { return $this->render('index'); } } - + /** * Login action. * @@ -88,7 +88,7 @@ if (!Yii::$app->user->isGuest) { return $this->goHome(); } - + $model = new LoginForm(); if ($model->load(Yii::$app->request->post()) && $model->login()) { return $this->goBack(); @@ -101,7 +101,7 @@ ); } } - + /** * Logout action. * @@ -110,7 +110,7 @@ public function actionLogout() { Yii::$app->user->logout(); - + return $this->goHome(); } } -- libgit2 0.21.4