diff --git a/lib/Dancer2/Plugin/Auth/HTTP/Basic/DWIW.pm b/lib/Dancer2/Plugin/Auth/HTTP/Basic/DWIW.pm index 30e62da..7e9ae87 100644 --- a/lib/Dancer2/Plugin/Auth/HTTP/Basic/DWIW.pm +++ b/lib/Dancer2/Plugin/Auth/HTTP/Basic/DWIW.pm @@ -48,7 +48,7 @@ register http_basic_auth => sub { $dsl->header('WWW-Authenticate' => 'Basic realm="' . $realm . '"'); $dsl->status($error_code); - return $error_code; + return; } }; };