diff --git a/backend/controllers/SiteController.php b/backend/controllers/SiteController.php index fea12ee..e1a6310 100755 --- a/backend/controllers/SiteController.php +++ b/backend/controllers/SiteController.php @@ -36,7 +36,12 @@ class SiteController extends Controller [ 'actions' => ['login', 'error'], 'allow' => true, - ] + ], + [ + 'actions' => ['logout', 'index'], + 'allow' => true, + 'roles' => ['@'], + ], ] ] ], -- libgit2 0.21.4