Commit c552633a authored by Michael Gratton's avatar Michael Gratton 🤞 Committed by Michael Gratton

Prompt when loading a libsecret token but it could not be found

Fixes #249 for local accounts.
parent f59fdd05
Pipeline #61215 passed with stages
in 15 minutes and 31 seconds
......@@ -64,17 +64,13 @@ public class SecretMediator : Geary.CredentialsMediator, Object {
service.credentials =
service.credentials.copy_with_token(password);
loaded = true;
} else {
debug(
"Unable to fetch libsecret password for %s: %s %s",
account.id,
to_proto_value(service.protocol),
service.credentials.user
);
}
} else {
}
if (!loaded) {
loaded = yield prompt_token(account, service, cancellable);
}
return loaded;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment