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

(-)a/Koha/OAuth.pm (-2 / +1 lines)
Lines 65-71 sub _verify_client_cb { Link Here
65
    # client_id mandatory and exists on the DB
65
    # client_id mandatory and exists on the DB
66
    return (0, 'unauthorized_client') unless $api_key && $api_key->active;
66
    return (0, 'unauthorized_client') unless $api_key && $api_key->active;
67
67
68
    return (0, 'access_denied') unless $api_key->secret eq $client_secret;
68
    return (0, 'access_denied') unless $api_key->validate_secret( $client_secret );
69
69
70
    return (1, undef, []);
70
    return (1, undef, []);
71
}
71
}
72
- 

Return to bug 28772