From 723393330f65cce80dc27f453abcc02a159a212b Mon Sep 17 00:00:00 2001 From: Ross Addison Date: Tue, 20 Aug 2024 19:38:41 +0100 Subject: [PATCH] Update blog/src/Auth/Controller/ChangePasswordController.php Co-authored-by: Alexander Makarov --- blog/src/Auth/Controller/ChangePasswordController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/src/Auth/Controller/ChangePasswordController.php b/blog/src/Auth/Controller/ChangePasswordController.php index 80bf3703..28f779f8 100644 --- a/blog/src/Auth/Controller/ChangePasswordController.php +++ b/blog/src/Auth/Controller/ChangePasswordController.php @@ -48,7 +48,7 @@ public function change( return $this->redirectToMain(); } - $identity_id = $this->currentUser->getIdentity()->getId(); + $identityId = $this->currentUser->getIdentity()->getId(); if (null!==$identity_id) { $identity = $identityRepository->findIdentity($identity_id); if (null!==$identity) {