Added 'site' parameter to PasswordResetViewMixin so that we can differentiate from which site we have requested a password reset.
This commit is contained in:
parent
2f0b38302a
commit
d84496b0de
2 changed files with 4 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ class SignupView(CreateView):
|
|||
|
||||
|
||||
class PasswordResetView(PasswordResetViewMixin):
|
||||
site='dcl'
|
||||
template_name = 'hosting/reset_password.html'
|
||||
form_class = PasswordResetRequestForm
|
||||
success_url = reverse_lazy('hosting:login')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue