@@ -1128,7 +1128,7 @@ Http_Connection CHttp::LineParse(const char* text)
11281128
11291129 string php_auth_pwd;
11301130
1131- if (WWW_Auth (this , asBasic, strauth.c_str (), m_username, php_auth_pwd))
1131+ if (WWW_Auth (this , asBasic, CHttpBase::m_integrate_local_users ? true : false , strauth.c_str (), m_username, php_auth_pwd))
11321132 {
11331133 m_passed_wwwauth = TRUE ;
11341134 m_cgi.SetMeta (" REMOTE_USER" , m_username.c_str ());
@@ -1146,7 +1146,7 @@ Http_Connection CHttp::LineParse(const char* text)
11461146
11471147 m_cgi.SetMeta (" AUTH_TYPE" , " Digest" );
11481148
1149- if (WWW_Auth (this , asDigest, strauth.c_str (), m_username, php_digest, HTTP_METHOD_NAME[m_http_method]))
1149+ if (WWW_Auth (this , asDigest, CHttpBase::m_integrate_local_users ? true : false , strauth.c_str (), m_username, php_digest, HTTP_METHOD_NAME[m_http_method]))
11501150 {
11511151 m_passed_wwwauth = TRUE ;
11521152 m_cgi.SetMeta (" REMOTE_USER" , m_username.c_str ());
@@ -1161,7 +1161,7 @@ Http_Connection CHttp::LineParse(const char* text)
11611161
11621162 string php_auth_pwd;
11631163
1164- if (WWW_Auth (this , asBasic, strauth.c_str (), m_username, php_auth_pwd))
1164+ if (WWW_Auth (this , asBasic, CHttpBase::m_integrate_local_users ? true : false , strauth.c_str (), m_username, php_auth_pwd))
11651165 {
11661166 m_passed_proxyauth = TRUE ;
11671167 }
@@ -1173,7 +1173,7 @@ Http_Connection CHttp::LineParse(const char* text)
11731173
11741174 string php_digest;
11751175
1176- if (WWW_Auth (this , asDigest, strauth.c_str (), m_username, php_digest, HTTP_METHOD_NAME[m_http_method]))
1176+ if (WWW_Auth (this , asDigest, CHttpBase::m_integrate_local_users ? true : false , strauth.c_str (), m_username, php_digest, HTTP_METHOD_NAME[m_http_method]))
11771177 {
11781178 m_passed_proxyauth = TRUE ;
11791179 }
0 commit comments