View | Details | Raw Unified | Return to bug 32551
Collapse All | Expand All

(-)a/Koha/REST/V1/Auth.pm (-1 / +5 lines)
Lines 160-165 sub authenticate_api_request { Link Here
160
    $c->stash_embed( { spec => $spec } );
160
    $c->stash_embed( { spec => $spec } );
161
    $c->stash_overrides();
161
    $c->stash_overrides();
162
162
163
    # FIXME: Remove once CGI is not used
164
    my $accept_language = $c->req->headers->accept_language;
165
    $ENV{HTTP_ACCEPT_LANGUAGE} = $accept_language
166
        if $accept_language;
167
163
    my $cookie_auth = 0;
168
    my $cookie_auth = 0;
164
169
165
    my $authorization = $spec->{'x-koha-authorization'};
170
    my $authorization = $spec->{'x-koha-authorization'};
166
- 

Return to bug 32551