From 5aefa64fceae541ff353ba380c48534e0d7bc928 Mon Sep 17 00:00:00 2001 From: afornerot Date: Fri, 19 Mar 2021 15:37:49 +0100 Subject: [PATCH] =?UTF-8?q?permettre=20le=20reset=20de=20password=20meme?= =?UTF-8?q?=20si=20inscription=20non=20activ=C3=A9e=20(ref=20#246)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Cadoles/CoreBundle/Controller/RegistrationController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 2418ca02..78abe42e 100755 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/RegistrationController.php @@ -701,9 +701,8 @@ class RegistrationController extends Controller public function resetpwd02Action($key,Request $request) { - $moderegistration = $this->getParameter('moderegistration'); $masteridentity = $this->getParameter('masteridentity'); - if($moderegistration=="none"||$masteridentity!="SQL") + if($masteridentity!="SQL") throw $this->createNotFoundException('Permission denied'); $now=new \DateTime();