From 7c26cdb57fd689038a79ad9287afd0720025083b Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 21 Jan 2021 11:43:39 +0100 Subject: [PATCH] reset password possible si maitre sql sans registration --- .../Cadoles/CoreBundle/Controller/RegistrationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php index 35a7852e..61e910db 100755 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php @@ -614,7 +614,7 @@ class RegistrationController extends Controller { $moderegistration = $this->getParameter('moderegistration'); $masteridentity = $this->getParameter('masteridentity'); - if($moderegistration=="none"||$masteridentity!="SQL") + if($masteridentity!="SQL") throw $this->createNotFoundException('Permission denied'); // Création du formulaire