This commit is contained in:
John Mumm 2025-08-22 16:47:18 +01:00
parent ec49f65578
commit 56f9074d2a
No known key found for this signature in database
GPG Key ID: 73D2271AFDC26EA8
1 changed files with 6 additions and 2 deletions

View File

@ -57,11 +57,15 @@ impl KeyringProvider {
match &self.backend { match &self.backend {
KeyringProviderBackend::Native => { KeyringProviderBackend::Native => {
let Some(username) = credentials.username() else { let Some(username) = credentials.username() else {
trace!("Unable to store credentials in keyring for {url} due to missing username"); trace!(
"Unable to store credentials in keyring for {url} due to missing username"
);
return; return;
}; };
let Some(password) = credentials.password() else { let Some(password) = credentials.password() else {
trace!("Unable to store credentials in keyring for {url} due to missing password"); trace!(
"Unable to store credentials in keyring for {url} due to missing password"
);
return; return;
}; };