This commit is contained in:
afornerot 2024-11-03 10:45:10 +01:00
parent 1e6f519aee
commit 33202511c8
2 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,6 @@ class HomeController extends AbstractController
public function home()
{
$items=null;
dump($this->getParameter("appNinegateactivate"));
if($this->getParameter("appNinegateactivate")) {
// Entete
$headers = ['Accept' => 'application/json', 'key' => $this->getParameter("appNinegatesecret"), 'only'=>'items'];

View File

@ -85,6 +85,7 @@ class SecurityController extends AbstractController
$user->setFirstname($firstname);
$user->setPseudo($username);
$user->setEmail($email);
$user->setRoles(["ROLE_USER"]);
$user->setPassword("CASPWD-".$username);
$user->setSalt("CASPWD-".$username);