Skip to content

Commit 074a58d

Browse files
committed
Fix demo comment.
1 parent 25089d6 commit 074a58d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

demos/credential-management/script.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ function processResponse(c) {
3030
// In a real site, we'd do something like the following to asynchronously
3131
// sign the user in:
3232
//
33-
// var fd = c.toFormData();
34-
// fetch("https://example.com/signinEndpoint/", { body: fd, method: "POST" })
33+
// fetch("https://example.com/signinEndpoint/", { body: c, method: "POST" })
3534
// .then(function (response) {
3635
// if ([check that the response is a valid signin event])
3736
// updateUI();

0 commit comments

Comments
 (0)