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 2005-06-05 20:54:55 +00:00
parent 232e6158a9
commit c8652e52b0
1 changed files with 1 additions and 1 deletions

View File

@ -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? */