From 4b7fd19685db22ab2684ce390c7663d983b64498 Mon Sep 17 00:00:00 2001 From: afornerot Date: Tue, 26 Nov 2024 20:47:39 +0100 Subject: [PATCH] svg --- src/Controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index dc46c53..f40cb0f 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -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()) {