diff options
| author | Adam Soltys <[email protected]> | 2023-02-09 13:43:33 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-09 13:43:39 -0800 |
| commit | b43990a271f24f1ecdd9f30710a8692095ec864b (patch) | |
| tree | 9e1b72060dcb5993bf2a3f92e92b6d12263320a7 | |
| parent | 7cafdee3035b6f974e3fc18c0daea799964c6e17 (diff) | |
| download | coinos-server-b43990a271f24f1ecdd9f30710a8692095ec864b.tar.gz coinos-server-b43990a271f24f1ecdd9f30710a8692095ec864b.zip | |
let
| -rw-r--r-- | routes/users.js | 2 |
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(); |
