diff options
| author | Dom Rodriguez <shymega@users.noreply.github.com> | 2023-11-16 22:10:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-16 22:10:46 +0000 |
| commit | acf6a355fdf9e4edbde491fb375caba5d56302c0 (patch) | |
| tree | bba48076e54e6b945ec2b1a35d79c98176929c69 /atuin-server-postgres/migrations/20230315220537_drop-events.sql | |
| parent | Disable enter-accept for bash (#1385) (diff) | |
| download | atuin-acf6a355fdf9e4edbde491fb375caba5d56302c0.zip | |
fix: Make `atuin account delete` void session + key (#1393)
When I deleted my Atuin.sh account, I found the command did not delete
the key or session files.
This caused `bail!`s from Atuin when querying the session status, or
synchronising.
Of course, one shouldn't expect Atuin to be able to synchronise or query
with the server when the account is deleted, but the relevant files were
still present, so the behaviour was different to what we'd expect.
I discussed this with @ellie on Discord, and we came to the conclusion
that I should open a PR, and submit a patch.
I'm not sure how well this PR fits in with the borrow checker, but I've
run tests, a Nix build, and a Cargo build - all goes well. I have not
tested on macOS or Windows; only NixOS.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
Diffstat (limited to 'atuin-server-postgres/migrations/20230315220537_drop-events.sql')
0 files changed, 0 insertions, 0 deletions
