zet-lib 1.5.20 → 1.5.21
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/zRoute.js +1 -1
- package/package.json +1 -1
package/lib/zRoute.js
CHANGED
|
@@ -1447,7 +1447,7 @@ zRoute.resetPassword = async (req, res) => {
|
|
|
1447
1447
|
zRoute.loginAuth = async (username, fields) => {
|
|
1448
1448
|
let results = await connection.results({
|
|
1449
1449
|
table: "zuser",
|
|
1450
|
-
where: {
|
|
1450
|
+
where: { email: username },
|
|
1451
1451
|
});
|
|
1452
1452
|
if (results.length) {
|
|
1453
1453
|
await connection.update({
|