pwquality: do not log password suggestions

As logging password suggestions might leak sensitive information,
print it instead.

Suggested-by: Yu Watanabe <watanabe.yu+github@gmail.com>
This commit is contained in:
Dmitry V. Levin 2023-07-05 18:00:00 +00:00
parent 7fc3f9c032
commit 0351d560a2

View file

@ -128,7 +128,7 @@ int suggest_passwords(void) {
if (!joined)
return log_oom();
log_info("Password suggestions: %s", joined);
printf("Password suggestions: %s\n", joined);
return 1;
}