Skip to content

Commit

Permalink
fixed nginx request access
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Sep 26, 2019
1 parent 27f4aeb commit 27301e7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/ngx_openidc_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,6 @@ bool oauth2_nginx_response_header_set(oauth2_log_t *log, void *rec,
return rc;
}

/*
* TODO
*/
OAUTH2_NGINX_REQUEST_COPY_HACK

static ngx_int_t ngx_openidc_handler(ngx_http_request_t *r)
{
ngx_int_t rv = NGX_DECLINED;
Expand Down Expand Up @@ -378,8 +373,6 @@ static ngx_int_t ngx_openidc_handler(ngx_http_request_t *r)
goto end;
}

// TODO:
_oauth2_nginx_request_copy(ctx);
oauth2_http_request_scheme_set(ctx->log, ctx->request, "http");

/*
Expand Down

0 comments on commit 27301e7

Please sign in to comment.