Skip to content

Commit

Permalink
try not clear auth for 403
Browse files Browse the repository at this point in the history
Signed-off-by: minff <16268924+minff@users.noreply.github.com>
  • Loading branch information
minff committed Sep 28, 2023
1 parent ff8cf79 commit 577bfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XYZHubConnector/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def handle_net_err(self, err):
# too many errors, handled by doing nothing
return True
# clear auth
if status in [401, 403]:
if status in [401]:
if conn_info.is_platform_server() and conn_info.is_user_login():
self.network_iml.clear_auth(conn_info)
return
Expand Down

0 comments on commit 577bfb0

Please sign in to comment.