8000 fix(daemon): do not try to sync if logged out by ellie · Pull Request #2037 · atuinsh/atuin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(daemon): do not try to sync if logged out #2037

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

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

ellie
Copy link
Member
@ellie ellie commented May 21, 2024

I've also added Settings::logged_in, as there are a few places where we switch on login state.

With this change, logging out/in with the daemon running is ok! Previously, sync would stop working. It would either always be logged out, or keep trying to make requests but get a 403.

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

ellie added 2 commits May 21, 2024 10:21
I've also added Settings::logged_in, as there are a few places where we
switch on login state.
@ellie ellie merged commit 8dc8448 into main May 21, 2024
@ellie ellie deleted the ellie/logged-out-daemon branch May 21, 2024 03:43
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

Successfully merging this pull request may close these issues.

1 participant
0