From c6ac19a73af6d96e9a8ba22873cdf60308f91964 Mon Sep 17 00:00:00 2001 From: Szymon Basan <116343782+sbasan@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:43:44 +0100 Subject: [PATCH] clear cookies on login, bump minor (#532) --- catalystwan/session.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/catalystwan/session.py b/catalystwan/session.py index e902c50f..f676f1df 100644 --- a/catalystwan/session.py +++ b/catalystwan/session.py @@ -225,6 +225,7 @@ def login(self) -> ManagerSession: ManagerSession: (self) """ + self.cookies.clear_session_cookies() self.auth = vManageAuth(self.base_url, self.username, self.password, verify=False) self.auth.logger = self.logger diff --git a/pyproject.toml b/pyproject.toml index b5b39e7f..8f7b451b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "catalystwan" -version = "0.31.0" +version = "0.31.1" description = "Cisco Catalyst WAN SDK for Python" authors = ["kagorski "] readme = "README.md"