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) {