aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/command.c')
-rw-r--r--agent/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c
index 765f916b3..93932120d 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -1245,7 +1245,7 @@ cmd_get_passphrase (assuan_context_t ctx, char *line)
if (!strcmp (desc, "X"))
desc = NULL;
- pw = cacheid ? agent_get_cache (cacheid, CACHE_MODE_NORMAL, &cache_marker)
+ pw = cacheid ? agent_get_cache (cacheid, CACHE_MODE_USER, &cache_marker)
: NULL;
if (pw)
{