Skip to content
Browse files

bugfixed.

  • Loading branch information...
1 parent fa1d6dc commit 984ae002cf8c6bd058560826be5896dd79cc8ad7 @nekokak committed Apr 6, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Kamui/Web/Authorizer/BasicAuth.pm
View
6 lib/Kamui/Web/Authorizer/BasicAuth.pm
@@ -21,10 +21,12 @@ sub basic_auth {
sub show_error_page {
my ($class, $context) = @_;
+
+ $context->{is_finished} = 1;
+
my $realm = $class->realm;
- # FIXME: use $context->res.
- my $res = Kamui::Web::Response->new;
+ my $res = $context->res;
$res->status('401');
$res->body('not authorized');
$res->headers(

0 comments on commit 984ae00

Please sign in to comment.
Something went wrong with that request. Please try again.