This commit is contained in:
2020-03-27 15:55:56 +07:00
parent ead3361d32
commit a4510fce21
13 changed files with 108 additions and 7 deletions

View File

@@ -16,6 +16,9 @@ class DashboardController extends Controller {
public function init() {
parent::init();
if (Yii::$app->user->isGuest) {
return $this->redirect(['/site/login']);
}
}
/**