Skip to content

Commit

Permalink
format as integer
Browse files Browse the repository at this point in the history
  • Loading branch information
alvyynm committed Dec 4, 2023
1 parent 4df542a commit efc4bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports.signup = (req, res, next) => {
const name = req.body.name;

bcrypt
.hash(password, bcryptSalt)
.hash(password, +bcryptSalt)
.then((hashedPwd) => {
const user = new User({
email: email,
Expand Down

0 comments on commit efc4bb8

Please sign in to comment.