Add very simple CAPTCHA to standalone customer registration form

This commit is contained in:
Raphael Michel
2022-02-14 15:37:35 +01:00
parent 1414db35b7
commit 2fcab70e3b
4 changed files with 50 additions and 2 deletions

View File

@@ -203,6 +203,7 @@ class RegistrationView(RedirectBackMixin, FormView):
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
kwargs['request'] = self.request
kwargs['standalone'] = True
return kwargs
def get_success_url(self):