Skip to content
Snippets Groups Projects
Verified Commit 041208c9 authored by Jonas Leder's avatar Jonas Leder
Browse files

redirect back to page after update instead of rendering page

parent 5ef96839
Branches
Tags
No related merge requests found
...@@ -46,7 +46,7 @@ class ProfileController extends AbstractController ...@@ -46,7 +46,7 @@ class ProfileController extends AbstractController
'title' => 'Passwort not changed', 'title' => 'Passwort not changed',
'message'=> 'Password confirmation doesn\'t match, please try again.' 'message'=> 'Password confirmation doesn\'t match, please try again.'
]); ]);
return $this->index(); return $this->redirectToRoute('app_profile');
} }
$user = $this->getUser(); $user = $this->getUser();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment