diff --git a/backend/config/main.php b/backend/config/main.php index d9fc4d6..61aeac4 100755 --- a/backend/config/main.php +++ b/backend/config/main.php @@ -27,8 +27,13 @@ return [ 'site' => [ [ - 'actions' => ['login', 'error','logout', 'index' ], + 'actions' => ['login', 'error','logout',], 'allow' => true, + ], + [ + 'actions' => ['index'], + 'allow' => true, + 'roles' => ['@'], ] ] -- libgit2 0.21.4