This website works better with JavaScript.
Home
Explore
Help
Sign In
Laclic
/
Souke
Watch
5
Star
0
Fork
1
Code
Issues
1
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[Site] Erreur accès inscription : Vous n'êtes pas autorisé à effectuer cette action
#1205
feature/souke
Guillaume Bourgeois
1 year ago
parent
f17772f08c
commit
d17b65ebc2
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
+3
-0
frontend/controllers/SiteController.php
+ 3
- 0
frontend/controllers/SiteController.php
View File
@@ -83,6 +83,9 @@ class SiteController extends FrontendController
'roles' => ['@'],
],
],
'denyCallback' => function($rule, $action) {
return $this->redirect('index');
}
],
'verbs' => [
'class' => VerbFilter::class,
Write
Preview
Loading…
Cancel
Save