Browse Source

[Site] Erreur accès inscription : Vous n'êtes pas autorisé à effectuer cette action #1205

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
d17b65ebc2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      frontend/controllers/SiteController.php

+ 3
- 0
frontend/controllers/SiteController.php View File

'roles' => ['@'], 'roles' => ['@'],
], ],
], ],
'denyCallback' => function($rule, $action) {
return $this->redirect('index');
}
], ],
'verbs' => [ 'verbs' => [
'class' => VerbFilter::class, 'class' => VerbFilter::class,

Loading…
Cancel
Save