summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index c647fd0..4cdc3de 100644
--- a/misc.c
+++ b/misc.c
@@ -1480,6 +1480,10 @@ purge_user_pass (struct user_pass *up, const bool force)
CLEAR (*up);
up->nocache = nocache;
}
+ else
+ {
+ msg (M_WARN, "WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this");
+ }
}
/*