ports/mail/popa3d/patches/patch-auth_passwd_c

12 lines
323 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- auth_passwd.c.orig Tue May 17 20:59:12 2016
+++ auth_passwd.c Tue May 17 20:59:19 2016
@@ -19,7 +19,7 @@ struct passwd *auth_userpass(char *user, char *pass, i
{
struct passwd *pw, *result;
- *known = (pw = getpwnam(user)) != NULL;
+ *known = (pw = getpwnam_shadow(user)) != NULL;
endpwent();
result = NULL;