Set headers also for auth users
This commit is contained in:
parent
169f2feafd
commit
2b1ab0eea7
|
@ -99,7 +99,9 @@ sub _authAndTrace {
|
|||
|
||||
if ( $res < 300 ) {
|
||||
$self->lmLog( 'User authenticated, calling handler()', 'debug' );
|
||||
return $self->handler($req);
|
||||
$res = $self->handler($req);
|
||||
push @{ $res->[1] }, %{ $req->{respHeaders} };
|
||||
return $res;
|
||||
}
|
||||
else {
|
||||
my %h = $req->{respHeaders} ? %{ $req->{respHeaders} } : ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user