Specify the auth type when HTTP Basic auth fails. Fixes bug #12184.

This commit is contained in:
Colin Kuskie 2011-07-10 18:11:28 -07:00
parent 5d74b24e97
commit 200b4c3ec7
2 changed files with 2 additions and 0 deletions

View file

@ -143,6 +143,7 @@ sub authen {
}
}
$log->security($username." failed to login using HTTP Basic Authentication");
$request->auth_type('Basic');
$request->note_basic_auth_failure;
return Apache2::Const::HTTP_UNAUTHORIZED;
}