Skip to content
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

Bugfix account removal #7426

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Bugfix account removal #7426

merged 3 commits into from
Oct 29, 2024

Conversation

camilasan
Copy link
Member

  • When removing an account, an invalid 'user' was being saved in the config file
  • Accounts were not fully removed: after removing an account, after restarting the client, the client would prompt the user to grant access again to the deleted account.
  • Potentially this could fix the login issue where users get constantly prompted to grant access given that at some point their user was invalid (Account::retrieveAppPassword) => I couldn't reproduce this.

Copy link
Collaborator

@claucambra claucambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, just left a small nitpick

src/gui/accountmanager.cpp Outdated Show resolved Hide resolved
The cookies are cleared when an account is removed, this call was
bringing back the deleted account.

Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Copy link

sonarcloud bot commented Oct 29, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)
18 New Code Smells (required ≤ 0)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@camilasan camilasan merged commit eea2153 into master Oct 29, 2024
9 of 15 checks passed
@camilasan camilasan deleted the bugfix/accounts branch October 29, 2024 12:41
@camilasan
Copy link
Member Author

/backport to stable-3.14

@claucambra claucambra added this to the 3.14.5 milestone Nov 3, 2024
@Rello Rello modified the milestones: 3.14.5, 3.15.0 Nov 11, 2024
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.

3 participants