Added 'site' parameter to PasswordResetViewMixin so that we can differentiate from which site we have requested a password reset.

This commit is contained in:
M.Ravi 2017-06-12 20:42:17 +05:30
commit d84496b0de
2 changed files with 4 additions and 0 deletions

View file

@ -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')