From 0e5a8ca005d1f415ea0cc2655ea0e4bcaf15663f Mon Sep 17 00:00:00 2001 From: aikw Date: Fri, 20 May 2016 08:52:25 +0900 Subject: [PATCH] Fix password handling bug --- samples/UDCStrophe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/UDCStrophe.js b/samples/UDCStrophe.js index db47bc3..e354e2e 100644 --- a/samples/UDCStrophe.js +++ b/samples/UDCStrophe.js @@ -38,7 +38,7 @@ class UDCStrophe { } connect(userID, userPass) { - this._client.setResourceOwnerCreds(userID.split('+')[0], userPass.split('+')[0]); + this._client.setResourceOwnerCreds(userID.split('+')[0], userPass); this.id = userID; return new Promise((resolve, reject) => {