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 {