aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-09 13:43:33 -0800
committerAdam Soltys <[email protected]>2023-02-09 13:43:39 -0800
commitb43990a271f24f1ecdd9f30710a8692095ec864b (patch)
tree9e1b72060dcb5993bf2a3f92e92b6d12263320a7
parent7cafdee3035b6f974e3fc18c0daea799964c6e17 (diff)
downloadcoinos-server-b43990a271f24f1ecdd9f30710a8692095ec864b.tar.gz
coinos-server-b43990a271f24f1ecdd9f30710a8692095ec864b.zip
let
-rw-r--r--routes/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/users.js b/routes/users.js
index 6321206b..235addca 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -187,7 +187,7 @@ export default {
async login(req, res) {
try {
- const { username, password, token: twofa } = req.body;
+ let { username, password, token: twofa } = req.body;
l("logging in", username);
username = username.toLowerCase();