Commit 44554ed9ca2f124fdfdbe8885180293d0875ab01
1 parent
d19a94c2
image size
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
backend/config/main.php
@@ -27,8 +27,13 @@ return [ | @@ -27,8 +27,13 @@ return [ | ||
27 | 'site' => | 27 | 'site' => |
28 | [ | 28 | [ |
29 | [ | 29 | [ |
30 | - 'actions' => ['login', 'error','logout', 'index' ], | 30 | + 'actions' => ['login', 'error','logout',], |
31 | 'allow' => true, | 31 | 'allow' => true, |
32 | + ], | ||
33 | + [ | ||
34 | + 'actions' => ['index'], | ||
35 | + 'allow' => true, | ||
36 | + 'roles' => ['@'], | ||
32 | ] | 37 | ] |
33 | 38 | ||
34 | ] | 39 | ] |