permettre le reset de password meme si inscription non activée (ref #246)
This commit is contained in:
parent
9a8105edb9
commit
5aefa64fce
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue