parent
46dd4ccb91
commit
7aa0ebf366
|
|
@ -33,7 +33,6 @@ export class User {
|
||||||
|
|
||||||
|
|
||||||
static async hashPassword(password: string){
|
static async hashPassword(password: string){
|
||||||
console.log(`Hashing password ${password}, with salt rounds ${process.env.SALT_ROUNDS}`)
|
|
||||||
return await bcrypt.hash(password, parseInt(process.env.SALT_ROUNDS))
|
return await bcrypt.hash(password, parseInt(process.env.SALT_ROUNDS))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue