aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/users.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/users.js b/routes/users.js
index d0232eb4..e2ee569d 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -146,7 +146,6 @@ app.post(
twofa,
pin,
password,
- confirm,
tokens,
seed
} = req.body;
@@ -179,7 +178,7 @@ app.post(
user.seed = seed;
user.fiat = fiat;
- if (password && password === confirm) {
+ if (password) {
user.password = await bcrypt.hash(password, 1);
}