svg
This commit is contained in:
parent
94dd533be5
commit
4b7fd19685
@ -68,7 +68,7 @@ class UserController extends AbstractController
|
||||
if (!$user) {
|
||||
return $this->redirectToRoute('app_admin_user');
|
||||
}
|
||||
|
||||
$oldpassword=$user->getPassword();
|
||||
$form = $this->createForm(UserType::class, $user, ['mode' => 'update']);
|
||||
$form->handleRequest($request);
|
||||
if ($form->isSubmitted() && $form->isValid()) {
|
||||
|
Loading…
Reference in New Issue
Block a user