From 7b965e4121f6f4ddb536635db9d54f16842bc126 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sat, 18 Apr 2020 20:47:11 +0200 Subject: [PATCH] Add APPLE_API_SECRET param --- app/config.py | 3 +++ example.env | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 7d8d8f88..7b7c31e1 100644 --- a/app/config.py +++ b/app/config.py @@ -243,3 +243,6 @@ with open(get_abs_path(DISPOSABLE_FILE_PATH), "r") as f: DISPOSABLE_EMAIL_DOMAINS = [ d for d in DISPOSABLE_EMAIL_DOMAINS if not d.startswith("#") ] + +# Used when querying info on Apple API +APPLE_API_SECRET = os.environ.get("APPLE_API_SECRET") \ No newline at end of file diff --git a/example.env b/example.env index a2747523..f4265bdb 100644 --- a/example.env +++ b/example.env @@ -122,4 +122,7 @@ FACEBOOK_CLIENT_SECRET=to_fill # LOCAL_FILE_UPLOAD=true # The landing page -# LANDING_PAGE_URL=https://simplelogin.io \ No newline at end of file +# LANDING_PAGE_URL=https://simplelogin.io + +# Used when querying info on Apple API +# APPLE_API_SECRET=secret \ No newline at end of file