fix(activeuser): reset structure bdd
Some checks reported warnings
Cadoles/nineskeletor/pipeline/head This commit is unstable
Some checks reported warnings
Cadoles/nineskeletor/pipeline/head This commit is unstable
This commit is contained in:
@@ -194,7 +194,7 @@ class RegistrationController extends AbstractController
|
||||
|
||||
$data = new Registration();
|
||||
$data->setIsvisible(true);
|
||||
|
||||
|
||||
// Création du formulaire
|
||||
$form = $this->createForm(Form::class, $data, [
|
||||
'mode' => 'submit',
|
||||
@@ -505,6 +505,7 @@ class RegistrationController extends AbstractController
|
||||
$user->setFirstname($data->getFirstname());
|
||||
$user->setSalt($data->getSalt());
|
||||
$user->setPasswordDirect($data->getPassword());
|
||||
$user->setIsactive(true);
|
||||
$user->setIsvisible($data->isIsvisible());
|
||||
$user->setMotivation($data->getMotivation());
|
||||
$user->setNote($data->getNote());
|
||||
|
Reference in New Issue
Block a user