From a5035c0a0e173afe4a1c2284bbc8108743a5d991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Cie=C5=9Blak?= Date: Thu, 5 Oct 2017 19:43:54 +0200 Subject: [PATCH] README.md: email is used as the username Be consistent with a previous example, there was no `username`, only real `name` and `email`. `email` seems to work. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e800a4..4349f8e 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Log in to obtain such access token: ```javascript var access_token = ''; -connection.credential_login(username, password, null, null, null, null, function(error, token) { +connection.credential_login(email, password, null, null, null, null, function(error, token) { if (error) { console.error(error); } else {