@stackfactor/client-api 1.1.83 → 1.1.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/users.js +1 -3
- package/package.json +1 -1
package/lib/users.js
CHANGED
|
@@ -369,14 +369,12 @@ const inviteUsers = (invitees, groupId, teamId, authToken) => {
|
|
|
369
369
|
* Login using email and password. It returns a promise
|
|
370
370
|
* @param {String} email User's email address
|
|
371
371
|
* @param {String} password User's password
|
|
372
|
-
* @param {boolean} rememberMe Set to true if the user wants his account to be saved on the current machine
|
|
373
372
|
*/
|
|
374
|
-
const login = (email, password
|
|
373
|
+
const login = (email, password) => {
|
|
375
374
|
return new Promise(function (resolve, reject) {
|
|
376
375
|
const requestData = {
|
|
377
376
|
email: email,
|
|
378
377
|
password: password,
|
|
379
|
-
rememberMe: rememberMe,
|
|
380
378
|
};
|
|
381
379
|
let request = client.post("api/v1/auth/login", requestData);
|
|
382
380
|
request
|