Fix for #80 (token and sec were empty)

This commit is contained in:
DarkCat09 2023-06-03 16:45:58 +04:00
parent 31b4c24116
commit bc01f9ab13

View file

@ -125,6 +125,8 @@ class Client:
session (str): Session cookie value
"""
self.atconn.parse_token()
self.atconn.generate_sec()
self.atconn.session.cookies['ATERNOS_SESSION'] = session
def logout(self) -> None: