Skip to content

Commit

Permalink
fix(auth): pollination server now uses 403 instead of 401 for no-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineDao committed Aug 18, 2020
1 parent fa499bc commit d2ac0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queenbee/config/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def check_cached_token(self) -> str:
auth_header=auth_header
)
except HTTPError as err:
if err.code == 401:
if err.code == 403:
return False
else:
raise err
Expand Down

0 comments on commit d2ac0fb

Please sign in to comment.