ihabunek / toot

toot - Mastodon CLI & TUI
GNU General Public License v3.0
1.16k stars 111 forks source link

logout command does not work in TUI #142

Open vonbraun1969 opened 4 years ago

vonbraun1969 commented 4 years ago

toot whoami

returns @username

ID: XXXXXXXX Since: 2020-01-03 @ 06:19:51

Followers: 0 Following: 2 Statuses: 2

https://mastodon.social/@username` However when running

toot logout username@mastodon.social toot logout 'username@mastodon.social' toot logout username toot logout 'username'

I think that none of these actually log me out. Meaning that toot auth still returns

Auth tokens are stored in: /home/username/.config/toot/config.json

Had to manually delete said json file and recompile toot to ensure proper logged off state.

ihabunek commented 4 years ago

Do you get an error message or any output?

When I log out of an account it looks like this:

00003

This removes the access token.