diff --git a/index.js b/index.js index 7c002a4..4b0beb0 100644 --- a/index.js +++ b/index.js @@ -75,7 +75,7 @@ DB.getDB.then((DB)=>{ const profile = req.query.profile || req.body.profile; if(!username || !password || !email) return res.json({status: "fail"}) //const hashedPassword = await bcrypt.hash(password, 10); - const hashedPassword = await bcrypt.hash('12345', 10); + const hashedPassword = await bcrypt.hash(password, 10); const success = await DB.newUser({ username: username, email: email,