1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-08 04:22:21 +03:00

minor mod_auth_basic and mod_auth_digest sync. mod_auth_basic

now populates r->user with the (possibly unauthenticated) user,
and mod_auth_digest returns 500 when a provider returns
AUTH_GENERAL_ERROR
Reviewed by:	justin


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Geoffrey Young
2004-02-21 00:53:18 +00:00
parent 8db89f5cb4
commit 25c8f1662c
3 changed files with 29 additions and 9 deletions

View File

@@ -176,6 +176,9 @@ static int get_basic_auth(request_rec *r, const char **user,
*user = ap_getword_nulls(r->pool, (const char**)&decoded_line, ':');
*pw = decoded_line;
/* set the user, even though the user is unauthenticated at this point */
r->user = (char *) *user;
return OK;
}