Skip to content

Feature request: add logout command to clear login data from disk #303

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

Open
iTrooz opened this issue Mar 9, 2025 · 1 comment
Open

Feature request: add logout command to clear login data from disk #303

iTrooz opened this issue Mar 9, 2025 · 1 comment

Comments

@iTrooz
Copy link

iTrooz commented Mar 9, 2025

See the title :)

@acheong08
Copy link

acheong08 commented Mar 9, 2025

This should be pretty easy since we just have to delete .config/hydroxide/<username>.db and update auth.json. Not sure what the expected behavior should be for currently running servers though since the database would still be open somewhere. We'd need to be able to send signals to the running hydroxide service and tell it to end any imap connections to that user and close the database. Should hydroxide have an internal api to allow the cli to manage other instances?

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