fix strict typing and do not show link to edit password in user list

This commit is contained in:
2022-05-27 16:24:55 +02:00
parent 566c1c5380
commit 7278a5f3fa
4 changed files with 10 additions and 5 deletions

View File

@@ -112,6 +112,7 @@ class UserType extends AbstractType
},
]);
// @phpstan-ignore-next-line
if ($options['is_creation'] && $this->parameterBag->get('chill_main.access_user_change_password')) {
$builder->add('plainPassword', RepeatedType::class, [
'mapped' => false,