larvituser
Advanced tools
Comparing version 0.4.5 to 0.4.6
@@ -374,3 +374,3 @@ 'use strict'; | ||
fromUuid(utils.formatUuidStr(rows[0].userUuid), cb); | ||
fromUuid(utils.formatUuid(rows[0].userUuid), cb); | ||
}); | ||
@@ -416,3 +416,3 @@ }); | ||
// Password check is ok, use fromUuid() to get the user instance | ||
fromUuid(utils.formatUuidStr(rows[0].uuid), cb); | ||
fromUuid(utils.formatUuid(rows[0].uuid), cb); | ||
} else { | ||
@@ -456,3 +456,3 @@ cb(null, false); | ||
// Use fromUuid() to get the user instance | ||
fromUuid(utils.formatUuidStr(rows[0].uuid), cb); | ||
fromUuid(utils.formatUuid(rows[0].uuid), cb); | ||
}); | ||
@@ -503,3 +503,3 @@ }); | ||
returnObj.uuid = utils.formatUuidStr(rows[0].uuid); | ||
returnObj.uuid = utils.formatUuid(rows[0].uuid); | ||
returnObj.username = rows[0].username; | ||
@@ -879,3 +879,3 @@ | ||
if (rows.length && utils.formatUuidStr(rows[0].uuid) !== userUuid) { | ||
if (rows.length && utils.formatUuid(rows[0].uuid) !== userUuid) { | ||
err = new Error('Username is already taken'); | ||
@@ -882,0 +882,0 @@ cb(err); |
@@ -42,5 +42,5 @@ { | ||
}, | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"readmeFilename": "README.md", | ||
"license": "MIT" | ||
} |
42274