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

(-)a/Koha/REST/V1/Auth.pm (-1 / +2 lines)
Lines 219-224 sub authenticate_api_request { Link Here
219
    }
219
    }
220
220
221
    $c->stash('koha.user' => $user);
221
    $c->stash('koha.user' => $user);
222
    C4::Context->_new_userenv( 1 );
223
    C4::Context->set_userenv( $user->borrowernumber, $user->userid );
222
224
223
    # We do not need any authorization
225
    # We do not need any authorization
224
    unless ($authorization) {
226
    unless ($authorization) {
225
- 

Return to bug 18205