Skip to content
Snippets Groups Projects
Commit 96fee41a authored by I. Nüske's avatar I. Nüske
Browse files

MNT: Adjust logout request to match documentation

parent 152377eb
Branches f-parse-value
No related tags found
2 merge requests!175BUG: Request responses without the "Set-Cookie" header no longer overwrite the...,!162Prevent auth_token from being overwritten with None
Pipeline #57985 passed with warnings
...@@ -191,7 +191,7 @@ class CredentialsAuthenticator(AbstractAuthenticator): ...@@ -191,7 +191,7 @@ class CredentialsAuthenticator(AbstractAuthenticator):
def _logout(self): def _logout(self):
self.logger.debug("[LOGOUT]") self.logger.debug("[LOGOUT]")
if self.auth_token is not None: if self.auth_token is not None:
self._connection.request(method="DELETE", path="logout") self._connection.request(method="GET", path="logout")
self.auth_token = None self.auth_token = None
def _login(self): def _login(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment