shish 6 лет назад
Родитель
Сommit
396c7e2dc5
1 измененных файлов с 3 добавлено и 10 удалено
  1. 3 10
      app/saas/controllers/MainController.php

+ 3 - 10
app/saas/controllers/MainController.php

@@ -23,19 +23,12 @@ class MainController extends PlatformController
 	
 	public function actionLogin()
 	{
-		if ($this->isLogin) {
-			$this->redirect(['main/index']);
-			Yii::$app->end();
-		}
-		return $this->renderPartial('login');
+		Yii::$app->end();
 	}
-	
-	/**
-	 * 重复登陆,记录登陆名
-	 */
+
 	public function actionRelogin()
 	{
-		return $this->renderPartial('relogin');
+
 	}
 	
 	public function actionLogout()