Commit 9bd35d6760d6340789f35dd3c9d166aa47b2186e
1 parent
090dfe5b
image size
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
backend/controllers/SiteController.php
@@ -36,7 +36,12 @@ class SiteController extends Controller | @@ -36,7 +36,12 @@ class SiteController extends Controller | ||
36 | [ | 36 | [ |
37 | 'actions' => ['login', 'error'], | 37 | 'actions' => ['login', 'error'], |
38 | 'allow' => true, | 38 | 'allow' => true, |
39 | - ] | 39 | + ], |
40 | + [ | ||
41 | + 'actions' => ['logout', 'index'], | ||
42 | + 'allow' => true, | ||
43 | + 'roles' => ['@'], | ||
44 | + ], | ||
40 | ] | 45 | ] |
41 | ] | 46 | ] |
42 | ], | 47 | ], |