Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Drop reCaptcha settings

Marcin Gębalaf862cad56431
diff --git a/saleor/settings.py b/saleor/settings.py
index 643fe3b29d..6ead826967 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -508,16 +508,6 @@ ALLOWED_STYLES = ["text-align"]
# Slugs for menus precreated in Django migrations
DEFAULT_MENUS = {"top_menu_name": "navbar", "bottom_menu_name": "footer"}
-# This enable the new 'No Captcha reCaptcha' version (the simple checkbox)
-# instead of the old (deprecated) one. For more information see:
-# https://github.com/praekelt/django-recaptcha/blob/34af16ba1e/README.rst
-NOCAPTCHA = True
-
-# Set Google's reCaptcha keys
-RECAPTCHA_PUBLIC_KEY = os.environ.get("RECAPTCHA_PUBLIC_KEY")
-RECAPTCHA_PRIVATE_KEY = os.environ.get("RECAPTCHA_PRIVATE_KEY")
-
-
# Sentry
SENTRY_DSN = os.environ.get("SENTRY_DSN")
if SENTRY_DSN:
diff --git a/tests/settings.py b/tests/settings.py
index 275a913bbc..7b7e591c96 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -35,9 +35,6 @@ SEARCH_BACKEND = "saleor.search.backends.postgresql"
EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend"
-RECAPTCHA_PUBLIC_KEY = ""
-RECAPTCHA_PRIVATE_KEY = ""
-
VATLAYER_ACCESS_KEY = ""
if "sqlite" in DATABASES["default"]["ENGINE"]: # noqa