Commit d19a94c2d8d6d6e94dd8fa98f28b3641bebe5ddd
1 parent
ebe47416
image size
Showing
2 changed files
with
1 additions
and
13 deletions
Show diff stats
backend/config/main.php
backend/controllers/SiteController.php
... | ... | @@ -28,18 +28,6 @@ class SiteController extends Controller |
28 | 28 | public function behaviors() |
29 | 29 | { |
30 | 30 | return [ |
31 | - 'access'=>[ | |
32 | - 'class' => AccessBehavior::className(), | |
33 | - 'rules' => | |
34 | - ['site' => | |
35 | - [ | |
36 | - [ | |
37 | - 'actions' => ['login', 'error','logout'], | |
38 | - 'allow' => true, | |
39 | - ] | |
40 | - ] | |
41 | - ] | |
42 | - ], | |
43 | 31 | 'verbs' => [ |
44 | 32 | 'class' => VerbFilter::className(), |
45 | 33 | 'actions' => [ | ... | ... |