From 442ae97efb03083707ad643fed66f19cb1ebec4d Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Mon, 14 Aug 2017 18:01:26 +0200
Subject: [PATCH] Prepare iThenticate package use

---
 SciPost_v1/settings/local_jorran.py | 4 ++++
 requirements.txt                    | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/SciPost_v1/settings/local_jorran.py b/SciPost_v1/settings/local_jorran.py
index 9b0833751..f1f650d01 100644
--- a/SciPost_v1/settings/local_jorran.py
+++ b/SciPost_v1/settings/local_jorran.py
@@ -22,3 +22,7 @@ MAILCHIMP_API_USER = get_secret("MAILCHIMP_API_USER")
 MAILCHIMP_API_KEY = get_secret("MAILCHIMP_API_KEY")
 
 DATABASES['default']['PORT'] = '5433'
+
+# iThenticate
+ITHENTICATE_USERNAME = get_secret('ITHENTICATE_USERNAME')
+ITHENTICATE_PASSWORD = get_secret('ITHENTICATE_PASSWORD')
diff --git a/requirements.txt b/requirements.txt
index 2e450250c..3971b15ab 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -21,7 +21,7 @@ factory-boy==2.7.0
 Faker==0.7.11
 fake-factory==0.7.2
 feedparser==5.2.1
-ithenticate-api-python
+ithenticate-api-python==0.3
 imagesize==0.7.1
 Jinja2==2.8
 mailchimp3==2.0.11
-- 
GitLab