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

@@ -344,6 +344,11 @@ class UserController extends CRUDController
),
]
);
} elseif ('index' === $action) {
return array_merge(
['allow_change_password' => $this->parameterBag->get('chill_main.access_user_change_password')],
$defaultTemplateParameters
);
}
// default behaviour