svg
This commit is contained in:
parent
1e6f519aee
commit
33202511c8
|
@ -12,7 +12,6 @@ class HomeController extends AbstractController
|
||||||
public function home()
|
public function home()
|
||||||
{
|
{
|
||||||
$items=null;
|
$items=null;
|
||||||
dump($this->getParameter("appNinegateactivate"));
|
|
||||||
if($this->getParameter("appNinegateactivate")) {
|
if($this->getParameter("appNinegateactivate")) {
|
||||||
// Entete
|
// Entete
|
||||||
$headers = ['Accept' => 'application/json', 'key' => $this->getParameter("appNinegatesecret"), 'only'=>'items'];
|
$headers = ['Accept' => 'application/json', 'key' => $this->getParameter("appNinegatesecret"), 'only'=>'items'];
|
||||||
|
|
|
@ -85,6 +85,7 @@ class SecurityController extends AbstractController
|
||||||
$user->setFirstname($firstname);
|
$user->setFirstname($firstname);
|
||||||
$user->setPseudo($username);
|
$user->setPseudo($username);
|
||||||
$user->setEmail($email);
|
$user->setEmail($email);
|
||||||
|
$user->setRoles(["ROLE_USER"]);
|
||||||
|
|
||||||
$user->setPassword("CASPWD-".$username);
|
$user->setPassword("CASPWD-".$username);
|
||||||
$user->setSalt("CASPWD-".$username);
|
$user->setSalt("CASPWD-".$username);
|
||||||
|
|
Loading…
Reference in New Issue