mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
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:
parent
7fc3f9c032
commit
0351d560a2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue