From 063e7a556774a130d5ad7a5ab85aa721462bee03 Mon Sep 17 00:00:00 2001
From: Bertrand GAUTHIER <bertrand.gauthier@unicaen.fr>
Date: Fri, 4 Jun 2021 13:53:55 +0200
Subject: [PATCH] =?UTF-8?q?Config=20bjyauthorize=20n=C3=A9cessaire?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 config/module.config.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/config/module.config.php b/config/module.config.php
index 13706d9..df65c60 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' => [
-- 
GitLab