Changed redirect to dashboard after changing password.

This commit is contained in:
Emanuel Schuetze 2012-09-10 21:02:58 +02:00
parent e50abbbf03
commit b705df8c5f

View File

@ -477,7 +477,7 @@ def user_settings_password(request):
if form.is_valid():
form.save()
messages.success(request, _('Password successfully changed.'))
return redirect(reverse('user_settings'))
return redirect(reverse('dashboard'))
else:
messages.error(request, _('Please check the form for errors.'))
else: