summaryrefslogtreecommitdiff
path: root/shopify.c
diff options
context:
space:
mode:
Diffstat (limited to 'shopify.c')
-rw-r--r--shopify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shopify.c b/shopify.c
index 3074123..39b7227 100644
--- a/shopify.c
+++ b/shopify.c
@@ -312,6 +312,7 @@ static enum MHD_Result handle_request(void *cls, struct MHD_Connection *con,
sessions[nsessions].nonce = malloc(nonce_len + 1);
strcpy(sessions[nsessions].nonce, nonce);
sessions[nsessions + 1].shop = NULL;
+ container->sessions = sessions;
if (embedded) {
const size_t page_len = REDIR_PAGE_LEN + key_len
+ host_len + auth_url_len;