Skip to content

Commit

Permalink
feat: experiment to disable captcha validation on form
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-hd committed Oct 24, 2024
1 parent 4949233 commit 12da656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion communities/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def create_community(request):
env = dev_prod_or_local(request.get_host())

if request.method == "POST":
if form.is_valid() and user_form.is_valid() and validate_recaptcha(request):
if form.is_valid() and user_form.is_valid():
data = form.save(commit=False)
data.community_creator = request.user
mutable_post_data = request.POST.copy()
Expand Down

0 comments on commit 12da656

Please sign in to comment.