diff --git a/src/Controller/ProfileController.php b/src/Controller/ProfileController.php index 6832d26b0cca38fd14f450c7ef1f18f495155a96..7d8e75f4f568d7b2b040a8100831a30a3af449a3 100644 --- a/src/Controller/ProfileController.php +++ b/src/Controller/ProfileController.php @@ -46,7 +46,7 @@ class ProfileController extends AbstractController 'title' => 'Passwort not changed', 'message'=> 'Password confirmation doesn\'t match, please try again.' ]); - return $this->index(); + return $this->redirectToRoute('app_profile'); } $user = $this->getUser();