permettre le reset de password meme si inscription non activée (ref #246)

This commit is contained in:
afornerot 2021-03-19 15:37:49 +01:00
parent 9a8105edb9
commit 5aefa64fce
1 changed files with 1 additions and 2 deletions

View File

@ -701,9 +701,8 @@ class RegistrationController extends Controller
public function resetpwd02Action($key,Request $request) public function resetpwd02Action($key,Request $request)
{ {
$moderegistration = $this->getParameter('moderegistration');
$masteridentity = $this->getParameter('masteridentity'); $masteridentity = $this->getParameter('masteridentity');
if($moderegistration=="none"||$masteridentity!="SQL") if($masteridentity!="SQL")
throw $this->createNotFoundException('Permission denied'); throw $this->createNotFoundException('Permission denied');
$now=new \DateTime(); $now=new \DateTime();