reset password possible si maitre sql sans registration

This commit is contained in:
afornerot 2021-01-21 11:43:39 +01:00
parent f75058bc30
commit 7c26cdb57f
1 changed files with 1 additions and 1 deletions

View File

@ -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