mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Fix insecure link to MLC (#822)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user