aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 09:29:43 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 09:29:43 +0200
commitc46a38c02f3f0d99c8659099176ad1266828b9b1 (patch)
tree847ab23cdabc48ecc3930213e2bd041efba5f65b
parentRemoved recaptcha. (diff)
downloadnewspipe-c46a38c02f3f0d99c8659099176ad1266828b9b1.tar.gz
newspipe-c46a38c02f3f0d99c8659099176ad1266828b9b1.tar.bz2
newspipe-c46a38c02f3f0d99c8659099176ad1266828b9b1.zip
Removed recaptcha.
-rw-r--r--app.json2
-rw-r--r--src/bootstrap.py4
2 files changed, 0 insertions, 6 deletions
diff --git a/app.json b/app.json
index 42f9bc93..ac308370 100644
--- a/app.json
+++ b/app.json
@@ -20,8 +20,6 @@
"TOKEN_VALIDITY_PERIOD": 3600,
"SECURITY_PASSWORD_SALT": "a secret to confirm user account",
"NOTIFICATION_EMAIL": "JARR@no-reply.com",
- "RECAPTCHA_PRIVATE_KEY": "REDACTED",
- "RECAPTCHA_PUBLIC_KEY": "REDACTED",
"POSTMARK_API_KEY": "REDACTED"
},
"addons": [
diff --git a/src/bootstrap.py b/src/bootstrap.py
index f1624111..6d76d58f 100644
--- a/src/bootstrap.py
+++ b/src/bootstrap.py
@@ -49,10 +49,6 @@ application.config['SECURITY_PASSWORD_SALT'] = getattr(conf,
if not application.config['SECURITY_PASSWORD_SALT']:
application.config['SECURITY_PASSWORD_SALT'] = os.urandom(12)
-application.config['RECAPTCHA_USE_SSL'] = True
-application.config['RECAPTCHA_PUBLIC_KEY'] = conf.RECAPTCHA_PUBLIC_KEY
-application.config['RECAPTCHA_PRIVATE_KEY'] = conf.RECAPTCHA_PRIVATE_KEY
-
db = SQLAlchemy(application)
def populate_g():
bgstack15