From 714c1af39c4f87e4f1861da6abcf0577d46162e3 Mon Sep 17 00:00:00 2001 From: Mike West Date: Wed, 27 Apr 2016 08:56:55 +0200 Subject: [PATCH] Ugh. Missed a comment. --- demos/credential-management/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/credential-management/script.js b/demos/credential-management/script.js index f4432728..d4b70576 100644 --- a/demos/credential-management/script.js +++ b/demos/credential-management/script.js @@ -45,7 +45,7 @@ function processResponse(c) { // In a real site, we'd do something like the following to asynchronously // sign the user in: // - // fetch("https://example.com/signinEndpoint/", { body: c, method: "POST" }) + // fetch("https://example.com/signinEndpoint/", { credentials: c, method: "POST" }) // .then(function (response) { // if ([check that the response is a valid signin event]) // updateUI();