diff --git a/config/module.config.php b/config/module.config.php index 13706d923c7e463bd4e69da573093fd8aa5c4551..df65c609f040bfd57afc06c63e8a1e8f6c6f2a47 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -3,6 +3,13 @@ namespace UnicaenOauth; return [ + 'bjyauthorize' => [ + 'guards' => [ + 'BjyAuthorize\Guard\Controller' => [ + ['controller' => 'ZF\OAuth2\Controller\Auth', 'roles' => []], + ], + ], + ], 'router' => [ 'routes' => [ 'login-cas' => [