Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session login issue #312

Closed
Deihim007 opened this issue Nov 8, 2023 · 4 comments
Closed

Session login issue #312

Deihim007 opened this issue Nov 8, 2023 · 4 comments

Comments

@Deihim007
Copy link
Contributor

Line 78 of client.py should be self.steam_guard = {'steamid': self.get_steam_id()}
Also if you login using session, You'll get error on Line 136 because username is not defined.

@Deihim007
Copy link
Contributor Author

Basically set_login_cookies doesn't work.

@Deihim007
Copy link
Contributor Author

Changing line 78 to self.steam_guard = {'steamid': str(self.get_steam_id())} and adding username to SteamClient() solved the issue.

@bukson
Copy link
Owner

bukson commented Nov 9, 2023

Can you make a short pr?

@Deihim007
Copy link
Contributor Author

After 24 hours, when session is expired get_steam_id on Line 78 will fail.
set_login_cookies should return false if session isn't valid anymore.

bukson pushed a commit that referenced this issue Nov 16, 2023
@bukson bukson closed this as completed Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants