aio logout
does not log the user out (access token still stored in local)
#32
Labels
bug
Something isn't working
Describe the bug
but after you've supposedly "logged out", the access token is not removed from config (global), so you can still see the user token and refresh token shown in
aio config
To Reproduce
If you are inside a project with a local
.aio
, you can see the access token remove from config after you've logged out, but if you change directory to another folder without a local.aio
, you can see that the access token is still there in global.aio
.In addition, if you are inside a project with local
.aio
, after you have logged out if you try to type inaio logout
again, it throws this error. it should really say "You are currently logged out".Expected behavior
Config should be cleared for both global AND local, and ideally
aio logout
should print a message saying "you are logged out"The text was updated successfully, but these errors were encountered: