Skip to content

Commit

Permalink
Fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pinmarva committed Nov 22, 2023
1 parent 11bc334 commit 99b183d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemur/auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def retrieve_user(user_api_url, access_token):

headers = {}

if current_app.config.get("PING_INCLUDE_BEARER_TOKEN") and "ping" in current_app.config.get("PING_INCLUDE_BEARER_TOKEN"):
if current_app.config.get("PING_INCLUDE_BEARER_TOKEN") and "ping" in current_app.config.get("ACTIVE_PROVIDERS"):
headers = {"Authorization": f"Bearer {access_token}"}
else:
headers = {"Authorization": f"Bearer {access_token}"}
Expand Down

0 comments on commit 99b183d

Please sign in to comment.