Skip to content

Commit

Permalink
Add missing recaptcha settings ad update poetry lock
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigocam committed Nov 8, 2024
1 parent 014dea4 commit f59a065
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 30 deletions.
62 changes: 32 additions & 30 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,10 @@ def debug(request):
SMTP_PASSWORD = env("SMTP_PASSWORD", default="password")
SMTP_SENDER_MAIL = env("SMTP_SENDER_MAIL", default="[email protected]")


# RECAPTCHA
RECAPTCHA_ENABLED = env("RECAPTCHA_ENABLED", default=False)
RECAPTCHA_SITE_KEY = env("RECAPTCHA_SITE_KEY", default="fake-key")

if len(sys.argv) > 1 and sys.argv[1] == "test":
logging.disable(logging.CRITICAL)

0 comments on commit f59a065

Please sign in to comment.