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

Fix regression which made libsecret backend unusable in v23.8.0 #587

Merged
merged 2 commits into from Aug 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion keyring/backend.py
Expand Up @@ -250,7 +250,7 @@ def _query(self, service, username=None, **base):
scheme['username']: username,
scheme['service']: service,
}
if username
if username is not None
Copy link
Owner

Choose a reason for hiding this comment

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

It's possible some users are relying on username = '' as a non-value for username. We can address that separately if needed.

else {
scheme['service']: service,
},
Expand Down