reset password possible si maitre sql sans registration
This commit is contained in:
parent
f75058bc30
commit
7c26cdb57f
|
@ -614,7 +614,7 @@ class RegistrationController extends Controller
|
||||||
{
|
{
|
||||||
$moderegistration = $this->getParameter('moderegistration');
|
$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');
|
||||||
|
|
||||||
// Création du formulaire
|
// Création du formulaire
|
||||||
|
|
Loading…
Reference in New Issue