Browse Source

fixed #148 and let PAM use the lighttpd-handle (if someone implements it)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@372 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.3.14
Jan Kneschke 17 years ago
parent
commit
c8652e52b0
  1. 2
      src/http_auth.c

2
src/http_auth.c

@ -457,7 +457,7 @@ static int http_auth_basic_password_compare(server *srv, mod_auth_plugin_data *p
pam_handle_t *pamh=NULL;
int retval;
retval = pam_start("login", username->ptr, &conv, &pamh);
retval = pam_start("lighttpd", username->ptr, &conv, &pamh);
if (retval == PAM_SUCCESS)
retval = pam_authenticate(pamh, 0); /* is user really user? */

Loading…
Cancel
Save