From 500074e2f5cc5c8624d40e93d56ccc865afc42c8 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Wed, 18 Aug 2004 16:28:57 +0000 Subject: [PATCH] Both the r->user and r->ap_auth_type were set previously when the username and password were extracted from the request. Resetting them at the end of the handler will overwrite any changes made by the authn provider. For example, the ldap authn provider can be configured to change the user name to a full user dn. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104712 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_auth_basic.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/aaa/mod_auth_basic.c b/modules/aaa/mod_auth_basic.c index 346f71116b..a6abd73fa7 100644 --- a/modules/aaa/mod_auth_basic.c +++ b/modules/aaa/mod_auth_basic.c @@ -288,12 +288,6 @@ static int authenticate_basic_user(request_rec *r) return return_code; } - /* Now that we are done, set the request_rec values so others will know - * who we are. - */ - r->user = (char*)sent_user; - r->ap_auth_type = "Basic"; - return OK; } -- 2.50.1