Skip to content

Commit

Permalink
Merge pull request #70 from seamusarista/BSC-19699-logout-rpc
Browse files Browse the repository at this point in the history
BSC-19699: use the logout RPC instead of delete
  • Loading branch information
seamusarista committed May 15, 2024
2 parents a1fb228 + d0067e2 commit 89d871e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybsn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def close(self):
token = self.session.cookies.get_dict().get("session_cookie")
if token:
# This is a no-op/fine for api tokens
self.root.core.aaa.session.match(auth_token=token).delete()
self.root.core.aaa.session.logout.rpc()

def _request(self, method, path, data=None, params=None, rpc=False,
timeout=CLIENT_TIMEOUT):
Expand Down

0 comments on commit 89d871e

Please sign in to comment.