mirror of
https://github.com/ajnart/homarr.git
synced 2026-05-17 21:16:52 +02:00
➕ Use bcryptjs instead of bcrypt
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import bcrypt from 'bcrypt';
|
||||
import bcrypt from 'bcryptjs';
|
||||
|
||||
export const hashPassword = (password: string, salt: string) => {
|
||||
return bcrypt.hashSync(password, salt);
|
||||
|
||||
Reference in New Issue
Block a user