Add HTTP_USER var

This commit is contained in:
Ron Pedde 2003-12-01 07:05:54 +00:00
parent 2c1b1d5a05
commit abed11fc99

View File

@ -741,6 +741,7 @@ void *ws_dispatcher(void *arg) {
ws_decodepassword(auth,&username,&password); ws_decodepassword(auth,&username,&password);
if(auth_handler(username,password)) if(auth_handler(username,password))
can_dispatch=1; can_dispatch=1;
ws_addarg(&pwsc->request_vars,"HTTP_USER",username);
free(username); free(username);
} }