Skip to content

Commit

Permalink
Update Security.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
afhp2018 authored Sep 2, 2024
1 parent 6594e9e commit 972cc1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Mojolicious/Plugin/OpenAPI/Security.pm
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sub _build_action {

if (!$security_cb) {
$res{$name} = {message => "No security callback for $name."} unless exists $res{$name};
$security_completed->(); # missing handler is always an error
}
elsif (!exists $res{$name}) {
$res{$name} = undef;
Expand Down

0 comments on commit 972cc1f

Please sign in to comment.