Skip to content

Commit

Permalink
fixup! Clarify how OpenQA::WebAPI::Auth::OpenID uses controller argument
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Mar 2, 2024
1 parent 93f0cb4 commit 8fdd6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/OpenQA/WebAPI/Auth/OpenID.pm
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ sub auth_response ($c) {
);

my $err_handler = sub ($err, $txt) {
$self->app->log->error("OpenID: $err: $txt");
$self->flash(error => "$err: $txt");
$c->app->log->error("OpenID: $err: $txt");
$c->flash(error => "$err: $txt");
return (error => 0);
};

Expand Down

0 comments on commit 8fdd6af

Please sign in to comment.