Skip to content

Commit

Permalink
do not output the error code as body
Browse files Browse the repository at this point in the history
fixes warning when used in an application with the serializer enabled.
  • Loading branch information
LittleFox94 committed Apr 17, 2017
1 parent 12b0eb5 commit f20b110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dancer2/Plugin/Auth/HTTP/Basic/DWIW.pm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ register http_basic_auth => sub {

$dsl->header('WWW-Authenticate' => 'Basic realm="' . $realm . '"');
$dsl->status($error_code);
return $error_code;
return;
}
};
};
Expand Down

0 comments on commit f20b110

Please sign in to comment.