]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #663: Username not logged into ACCESS.LOG in case of /407
authorhno <>
Mon, 11 Aug 2003 00:57:08 +0000 (00:57 +0000)
committerhno <>
Mon, 11 Aug 2003 00:57:08 +0000 (00:57 +0000)
The Basic auth module did not implement the direction call correctly,
indication authentication scheme failure on unsuccessful helper lookup
rather than "completed".

Note: This API and it's interactions with checklist->auth_user_request &
request->auth_user_request looks overly complex for the job. Should be
possible to simplify this a lot I think.

src/auth/basic/auth_basic.cc

index 022791c6a7d062f86406cef000317e7e2eaa8c71..4ebc42aab1864314673e1a97a02228aa02accd7b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: auth_basic.cc,v 1.28 2003/08/10 11:00:48 robertc Exp $
+ * $Id: auth_basic.cc,v 1.29 2003/08/10 18:57:08 hno Exp $
  *
  * DEBUG: section 29    Authenticator
  * AUTHOR: Duane Wessels
@@ -239,7 +239,7 @@ authenticateBasicDirection(auth_user_request_t * auth_user_request)
         return -1;
 
     case 3:                    /* authentication process failed. */
-        return -2;
+        return 0;
     }
 
     return -2;