From 691791e3ec1750884f9a94ef39c37c6fff819000 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Wed, 28 Nov 2018 09:41:36 +0100 Subject: [PATCH] REST: actually add new cookie value --- src/rest-plugins/plugin_rest_openid_connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest-plugins/plugin_rest_openid_connect.c b/src/rest-plugins/plugin_rest_openid_connect.c index ca988387c..8f11455b4 100644 --- a/src/rest-plugins/plugin_rest_openid_connect.c +++ b/src/rest-plugins/plugin_rest_openid_connect.c @@ -1429,7 +1429,7 @@ login_cont (struct GNUNET_REST_RequestHandle *con_handle, "%s;Max-Age=%d", cookie, OIDC_COOKIE_EXPIRATION); - MHD_add_response_header (resp, "Set-Cookie", cookie); + MHD_add_response_header (resp, "Set-Cookie", header_val); MHD_add_response_header (resp, "Access-Control-Allow-Methods", "POST"); GNUNET_CRYPTO_hash (cookie, strlen (cookie), &cache_key); -- 2.25.1