Lines 84-89
sub under {
Link Here
|
84 |
|
84 |
|
85 |
if ( $c->req->url->to_abs->path =~ m#^/api/v1/oauth/# || $c->req->url->to_abs->path =~ m#^/api/v1/public/oauth/#) { |
85 |
if ( $c->req->url->to_abs->path =~ m#^/api/v1/oauth/# || $c->req->url->to_abs->path =~ m#^/api/v1/public/oauth/#) { |
86 |
# Requesting OAuth endpoints shouldn't go through the API authentication chain |
86 |
# Requesting OAuth endpoints shouldn't go through the API authentication chain |
|
|
87 |
C4::Context->set_userenv( undef, q{} ); |
87 |
$status = 1; |
88 |
$status = 1; |
88 |
} |
89 |
} |
89 |
elsif ( $namespace eq '' or $namespace eq '.html' ) { |
90 |
elsif ( $namespace eq '' or $namespace eq '.html' ) { |
90 |
- |
|
|