Commit 3305fb79441259afba7354127f041f3e014ff5af
1 parent
9bd35d67
image size
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
backend/controllers/SiteController.php
| ... | ... | @@ -34,11 +34,11 @@ class SiteController extends Controller |
| 34 | 34 | ['site' => |
| 35 | 35 | [ |
| 36 | 36 | [ |
| 37 | - 'actions' => ['login', 'error'], | |
| 37 | + 'actions' => ['login', 'error','logout'], | |
| 38 | 38 | 'allow' => true, |
| 39 | 39 | ], |
| 40 | 40 | [ |
| 41 | - 'actions' => ['logout', 'index'], | |
| 41 | + 'actions' => [ 'index'], | |
| 42 | 42 | 'allow' => true, |
| 43 | 43 | 'roles' => ['@'], |
| 44 | 44 | ], | ... | ... |