Self hosted FLOSS fitness/workout, nutrition and weight tracker
Redirect the user to the preferences page after a password change
Roland Geider762c342b4bb2
diff --git a/wger/manager/urls.py b/wger/manager/urls.pyindex 01492b563..671daf9c7 100644--- a/wger/manager/urls.py+++ b/wger/manager/urls.py@@ -95,7 +95,7 @@ urlpatterns = urlpatterns + patterns('',url(r'^user/password/change$','django.contrib.auth.views.password_change',{'template_name': 'user/change_password.html',- 'post_change_redirect': reverse_lazy('index'),+ 'post_change_redirect': reverse_lazy('preferences'),'extra_context': {'active_tab': USER_TAB}},name='change-password'),