Changed redirect to dashboard after changing password.
This commit is contained in:
parent
e50abbbf03
commit
b705df8c5f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user