misc: redirect user to homepage after password reset (#33611)
This commit is contained in:
parent
bedcbc5a4c
commit
b960e14fed
|
@ -634,6 +634,7 @@ class PasswordResetView(cbv.NextURLViewMixin, FormView):
|
|||
'''Ask for an email and send a password reset link by mail'''
|
||||
form_class = passwords_forms.PasswordResetForm
|
||||
title = _('Password Reset')
|
||||
next_url_default = '/'
|
||||
|
||||
def get_template_names(self):
|
||||
return [
|
||||
|
|
Loading…
Reference in New Issue