Merge branch 'tz/fsf-address-update'
[git/git.git] / contrib / credential / libsecret / git-credential-libsecret.c
index cfe295f..e6598b6 100644 (file)
@@ -103,7 +103,7 @@ static int keyring_get(struct credential *c)
        items = secret_service_search_sync(service,
                                           SECRET_SCHEMA_COMPAT_NETWORK,
                                           attributes,
-                                          SECRET_SEARCH_LOAD_SECRETS,
+                                          SECRET_SEARCH_LOAD_SECRETS | SECRET_SEARCH_UNLOCK,
                                           NULL,
                                           &error);
        g_hash_table_unref(attributes);