Skip to content

Commit

Permalink
Less aggressive clearing of cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
sockless-coding committed Jun 25, 2024
1 parent feaa3c0 commit 79a8b6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/panasonic_cc/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"domain": "panasonic_cc",
"name": "Panasonic Comfort Cloud",
"after_dependencies": ["http"],
"version": "1.0.46",
"version": "1.0.47",
"config_flow": true,
"documentation": "https://github.com/sockless-coding/panasonic_cc/",
"dependencies": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def __init__(self, client: aiohttp.ClientSession, settings: PanasonicSettings, a
self._app_version = app_version

async def authenticate(self, username: str, password: str):

self._client.cookie_jar.clear()
self._client.cookie_jar.clear_domain('authglb.digital.panasonic.com')
# generate initial state and code_challenge
code_verifier = generate_random_string(43)

Expand Down

0 comments on commit 79a8b6d

Please sign in to comment.