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();