Skip to content

Commit

Permalink
Read and use config value
Browse files Browse the repository at this point in the history
  • Loading branch information
weh authored and AnthonyDeroche committed Sep 13, 2020
1 parent d257ce9 commit 3d35da8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod_authnz_jwt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1110,10 +1110,11 @@ static int auth_jwt_authn_with_token(request_rec *r){
}

if(delivery_type & 4 && !token_str){
int cookie_remove = get_config_int_value(r, dir_cookie_remove);
const char* cookie_name = (char *)get_config_value(r, dir_cookie_name);
const char* cookieToken;

ap_cookie_read(r, cookie_name, &token_str, dir_cookie_remove);
ap_cookie_read(r, cookie_name, &token_str, cookie_remove);

if(!token_str) {
logCode = APLOGNO(55409);
Expand Down

0 comments on commit 3d35da8

Please sign in to comment.