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

(-)a/Koha/REST/V1/Auth.pm (-2 / +1 lines)
Lines 71-77 sub under { Link Here
71
                "Configuration prevents the usage of this endpoint by unprivileged users");
71
                "Configuration prevents the usage of this endpoint by unprivileged users");
72
        }
72
        }
73
73
74
        if ( $c->req->url->to_string eq '/api/v1/oauth/token' ) {
74
        if ( $c->req->url->to_abs->path eq '/api/v1/oauth/token' ) {
75
            # Requesting a token shouldn't go through the API authenticaction chain
75
            # Requesting a token shouldn't go through the API authenticaction chain
76
            $status = 1;
76
            $status = 1;
77
        }
77
        }
78
- 

Return to bug 23146