- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit924123a
committed
passwordcheck: Log cracklib diagnostics
When calling cracklib to check the password, the diagnostic fromcracklib was thrown away. This would hide essential information suchas no dictionary being installed. Change this to show the crackliberror message using errdetail_log().Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>Discussion:https://www.postgresql.org/message-id/flat/f7266133-618a-0adc-52ef-f43c78806b0e%402ndquadrant.com1 parent10564ee commit924123a
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 |
| |
95 | 98 |
| |
96 | 99 |
| |
| |||
125 | 128 |
| |
126 | 129 |
| |
127 | 130 |
| |
128 |
| - | |
| 131 | + | |
129 | 132 |
| |
130 | 133 |
| |
131 |
| - | |
| 134 | + | |
| 135 | + | |
132 | 136 |
| |
133 | 137 |
| |
134 | 138 |
| |
|
0 commit comments
Comments
(0)