From: Schanzenbach, Martin Date: Wed, 28 Nov 2018 08:41:36 +0000 (+0100) Subject: REST: actually add new cookie value X-Git-Tag: v0.11.0~201 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=691791e3ec1750884f9a94ef39c37c6fff819000;p=oweals%2Fgnunet.git REST: actually add new cookie value --- 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);