Bug 37040: (QA follow-up) Tidy file
QA tests were failing for tidyness so this patch addresses that
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit aeabe6c9f6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
cd7123734e
commit
e708597417
|
|
@ -78,7 +78,8 @@ sub call {
|
|||
}
|
||||
}
|
||||
|
||||
if ( $error ) {
|
||||
if ($error) {
|
||||
|
||||
#NOTE: Other Middleware will take care of logging to correct place, as Koha::Logger doesn't know where to go here
|
||||
warn $error;
|
||||
my $res = Plack::Response->new( 403, [ 'Content-Type' => 'text/plain' ], ["Wrong CSRF token"] );
|
||||
|
|
|
|||
Loading…
Reference in New Issue