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

@ -7,6 +7,7 @@
- fixed: Date formatting with WebGUI::DateTime has extra spaces for single digit months and days.
- fixed #12165: Default date in Thingy doesn't work
- fixed #12188: Thingy broken after upgrade to 7.9.32-stable
- fixed #12184: Apache error in modperl.error.log (William McKee, Knowmad Technologies)
7.10.19
- fixed #12169: extras uploads symlink export

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;
}