Skip to content

Commit

Permalink
Remove get_auth_token() when adding auth headers
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglenister committed Jan 17, 2024
1 parent 2e3a388 commit ff50775
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pmg/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ def load_from_api(

logger.debug("Headers: %s" % headers)

# add auth header
if current_user.is_authenticated:
headers["Authentication-Token"] = current_user.get_auth_token()

try:
response = http.request(
"GET", API_URL + query_str, headers=headers, fields=params
Expand Down

0 comments on commit ff50775

Please sign in to comment.