Skip to content

Commit

Permalink
Allow the user to set the USE_RECAPTCHA setting in the docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Mar 27, 2024
1 parent 50f2465 commit 0f2c697
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extras/docker/development/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
WGER_SETTINGS["SYNC_EXERCISE_IMAGES_CELERY"] = env.bool("SYNC_EXERCISE_IMAGES_CELERY", False)
WGER_SETTINGS["SYNC_EXERCISE_VIDEOS_CELERY"] = env.bool("SYNC_EXERCISE_VIDEOS_CELERY", False)
WGER_SETTINGS["SYNC_INGREDIENTS_CELERY"] = env.bool("SYNC_INGREDIENTS_CELERY", False)
WGER_SETTINGS["USE_RECAPTCHA"] = env.bool("USE_RECAPTCHA", False)
WGER_SETTINGS["USE_CELERY"] = env.bool("USE_CELERY", False)

# Cache
Expand Down Expand Up @@ -129,7 +130,8 @@
AXES_COOLOFF_TIME = timedelta(minutes=env.float('AXES_COOLOFF_TIME', 30))
AXES_HANDLER = env.str('AXES_HANDLER', 'axes.handlers.cache.AxesCacheHandler')
AXES_IPWARE_PROXY_COUNT = env.int('AXES_IPWARE_PROXY_COUNT', 0)
AXES_IPWARE_META_PRECEDENCE_ORDER = env.list('AXES_IPWARE_META_PRECEDENCE_ORDER', default=['REMOTE_ADDR'])
AXES_IPWARE_META_PRECEDENCE_ORDER = env.list('AXES_IPWARE_META_PRECEDENCE_ORDER',
default=['REMOTE_ADDR'])

#
# Django Rest Framework SimpleJWT
Expand Down

0 comments on commit 0f2c697

Please sign in to comment.