Unverified Commit aa9671e4 authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Rename config var RECAPTCHA_PRIV_KEY → RECAPTCHA_SEC_KEY.

parent 9258d8ad
......@@ -166,7 +166,7 @@ bridgedb.conf:
RECAPTCHA_ENABLED
RECAPTCHA_PUB_KEY
RECAPTCHA_PRIV_KEY
RECAPTCHA_SEC_KEY
A [recaptcha.net](https://www.google.com/recaptcha) account is required.
......
......@@ -15,11 +15,14 @@
# for details.
# :copyright: (c) 2007-2013 The Tor Project, Inc.
# (c) 2007-2013, all sentient entities within the AUTHORS file
# :version: 0.0.7
# :version: 0.0.8
#===============================================================================
#
# CHANGELOG:
# ~~~~~~~~~~
# Changes in version 0.0.8 - 2014-05-14
# * CHANGE RECAPTCHA_PRIV_KEY to RECAPTCHA_SEC_KEY.
#
# Changes in version 0.0.7 - 2014-03-31
# * ADD new settings for tracing function calls and thread info within logged
# messages: LOG_THREADS, LOG_TRACE, and LOG_TIME_FORMAT.
......@@ -242,7 +245,7 @@ RECAPTCHA_ENABLED = False
# Recaptcha API keys
RECAPTCHA_PUB_KEY = ''
RECAPTCHA_PRIV_KEY = ''
RECAPTCHA_SEC_KEY = ''
# The remoteip we send to reCAPTCHA during verification
RECAPTCHA_REMOTEIP = ''
......
......@@ -837,7 +837,7 @@ def addWebServer(cfg, dist, sched):
HTTPS_USE_IP_FROM_FORWARDED_HEADER
RECAPTCHA_ENABLED
RECAPTCHA_PUB_KEY
RECAPTCHA_PRIV_KEY
RECAPTCHA_SEC_KEY
RECAPTCHA_REMOTEIP
GIMP_CAPTCHA_ENABLED
GIMP_CAPTCHA_DIR
......@@ -864,7 +864,7 @@ def addWebServer(cfg, dist, sched):
if cfg.RECAPTCHA_ENABLED:
protected = ReCaptchaProtectedResource(
recaptchaPrivKey=cfg.RECAPTCHA_PRIV_KEY,
recaptchaPrivKey=cfg.RECAPTCHA_SEC_KEY,
recaptchaPubKey=cfg.RECAPTCHA_PUB_KEY,
remoteip=cfg.RECAPTCHA_REMOTEIP,
useForwardedHeader=cfg.HTTP_USE_IP_FROM_FORWARDED_HEADER,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment