Open Jelleas opened 5 years ago
Relevant vid: https://www.youtube.com/watch?v=AbSehcT19u0
I can't replicate this... Nor do I see how this could be possible based on the code in lib50. This error https://github.com/cs50/lib50/blob/3b542683587183abbc06a3eedffe6b68db6702c4/lib50/_api.py#L865 should be caught here https://github.com/cs50/lib50/blob/3b542683587183abbc06a3eedffe6b68db6702c4/lib50/_api.py#L891 which triggers a logout.
Once you login with your password instead of an access token with two-factor authentication, check50 will tell you to use an access token, but will also keep you logged in (credentials stay cached). From that moment, every slug will fail and lib50 interprets this as an invalid slug. That means you have to manually
--logout
before you are able to use check50 again.