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

Refactoring: Cleanup creation of the credentials classes #11086

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheOneRing
Copy link
Contributor

No description provided.

@sonarcloud
Copy link

sonarcloud bot commented Aug 4, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 15 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

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

@TheOneRing TheOneRing added this to the Desktop Client 6.0 milestone Aug 4, 2023
@TheOneRing TheOneRing changed the title wip Refactoring: Cleanup creation of the credentials classes Aug 4, 2023
Copy link
Collaborator

@erikjv erikjv left a comment

Choose a reason for hiding this comment

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

I'm not very familiar with the authentication code. If this should be reviewed soonish, I'd appreciate a call with a walk-through of the changes.

@@ -166,6 +166,7 @@ std::unique_ptr<AccountState> AccountState::loadFromSettings(AccountPtr account,
accountState->setState(SignedOut);
}
accountState->_supportsSpaces = settings.value(supportsSpacesC(), false).toBool();
// accountState->account()->setCredentials(new HttpCredentialsGui(accountState.get(), l));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this commented-out line here?

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.

2 participants