You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the bug
When working with multiple accounts even if a different phone number and pin are supplied the previous session gets resumed.
To Reproduce
Login using pytr login using an existing key file. Then pytr login -n <somenumber> -p <somepin>. Might as well save a new key file. Now pytr dl_docs will use the first account not the one which was logged in last (given the session is still valid).
10:58:25 Found credentials file
10:58:25 Phone: +49***********, PIN: ****
10:58:29 Web session resumed. // <----- This should not be
10:58:29 Logged in
10:58:29 Created history file
Expected behavior
When logging in with a number other than the one the active session is linked to, I expect a the session to be invalidated and a new session to start.
Error log
Environment
OS: MacOS
pytr version: 0.1.5
The text was updated successfully, but these errors were encountered:
Description of the bug
When working with multiple accounts even if a different phone number and pin are supplied the previous session gets resumed.
To Reproduce
Login using
pytr login
using an existing key file. Thenpytr login -n <somenumber> -p <somepin>
. Might as well save a new key file. Nowpytr dl_docs
will use the first account not the one which was logged in last (given the session is still valid).Expected behavior
When logging in with a number other than the one the active session is linked to, I expect a the session to be invalidated and a new session to start.
Error log
Environment
The text was updated successfully, but these errors were encountered: