aboutsummaryrefslogtreecommitdiff
path: root/src/rest-plugins
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2018-11-28 09:41:36 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2018-11-28 09:41:36 +0100
commit691791e3ec1750884f9a94ef39c37c6fff819000 (patch)
tree79a1f70c68ed46c6ed62232f2b0a4f98430118dc /src/rest-plugins
parent3fc5340f4cc762d091904ee829c3bcadca452ece (diff)
downloadgnunet-691791e3ec1750884f9a94ef39c37c6fff819000.tar.gz
gnunet-691791e3ec1750884f9a94ef39c37c6fff819000.zip
REST: actually add new cookie value
Diffstat (limited to 'src/rest-plugins')
-rw-r--r--src/rest-plugins/plugin_rest_openid_connect.c2
1 files changed, 1 insertions, 1 deletions
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,
1429 "%s;Max-Age=%d", 1429 "%s;Max-Age=%d",
1430 cookie, 1430 cookie,
1431 OIDC_COOKIE_EXPIRATION); 1431 OIDC_COOKIE_EXPIRATION);
1432 MHD_add_response_header (resp, "Set-Cookie", cookie); 1432 MHD_add_response_header (resp, "Set-Cookie", header_val);
1433 MHD_add_response_header (resp, "Access-Control-Allow-Methods", "POST"); 1433 MHD_add_response_header (resp, "Access-Control-Allow-Methods", "POST");
1434 GNUNET_CRYPTO_hash (cookie, strlen (cookie), &cache_key); 1434 GNUNET_CRYPTO_hash (cookie, strlen (cookie), &cache_key);
1435 1435