From 9f7dc0543c24481b84a836c68a3d8b8afc511745 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Sat, 5 Jan 2019 19:25:29 -0500 Subject: [PATCH] Fix insecure link to MLC (#822) --- CTFd/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTFd/auth.py b/CTFd/auth.py index c4d930d8..526b5edd 100644 --- a/CTFd/auth.py +++ b/CTFd/auth.py @@ -310,7 +310,7 @@ def oauth_redirect(): token = token_request.json()['access_token'] user_url = get_app_config('OAUTH_API_ENDPOINT') \ or get_config('oauth_api_endpoint') \ - or 'http://api.majorleaguecyber.org/user' + or 'https://api.majorleaguecyber.org/user' headers = { 'Authorization': 'Bearer ' + str(token),