mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 13:35:56 +00:00
hard coded salt to bcrypt gensalt
This commit is contained in:
parent
8d24891b8e
commit
1125752511
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
const passwordHashOld = require("password-hash");
|
const passwordHashOld = require("password-hash");
|
||||||
const bcrypt = require("bcryptjs");
|
const bcrypt = require("bcryptjs");
|
||||||
const saltRounds = 10;
|
|
||||||
|
|
||||||
|
const saltRounds = bcrypt.genSalt();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hash a password
|
* Hash a password
|
||||||
|
|
Loading…
Add table
Reference in a new issue