Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Clear session cookies on login #532

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions catalystwan/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
readme = "README.md"
Expand Down
Loading