renforcer par un uuid la génération auto d'un password
This commit is contained in:
@ -457,7 +457,8 @@ class SecurityController extends AbstractController
|
||||
if(empty($avatar)) $avatar = "noavatar.png";
|
||||
if(empty($firstname)) $firstname = " ";
|
||||
if(empty($lastname)) $lastname = $username;
|
||||
$password=$this->getParameter("appAuth")."PWD-".$username;
|
||||
$uuid=Uuid::uuid4();
|
||||
$password=$this->getParameter("appAuth")."PWD-".$username."-".$uuid;
|
||||
|
||||
// Si aucun niveau01 on prend par défaut le niveau system
|
||||
if(!$niveau01) $niveau01=$em->getRepository('App\Entity\Niveau01')->find(-1);
|
||||
|
Reference in New Issue
Block a user