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

(-)a/Koha/REST/V1/Auth.pm (-2 / +1 lines)
Lines 254-260 sub authenticate_api_request { Link Here
254
    if ( !$authorization and
254
    if ( !$authorization and
255
         ( $params->{is_public} and
255
         ( $params->{is_public} and
256
          ( C4::Context->preference('RESTPublicAnonymousRequests') or
256
          ( C4::Context->preference('RESTPublicAnonymousRequests') or
257
            $user) ) or $params->{is_plugin} ) {
257
            $user) or $params->{is_plugin} ) ) {
258
        # We do not need any authorization
258
        # We do not need any authorization
259
        # Check the parameters
259
        # Check the parameters
260
        validate_query_parameters( $c, $spec );
260
        validate_query_parameters( $c, $spec );
261
- 

Return to bug 26322