Files
homarr/src/utils/security.ts
2023-08-05 11:19:52 +02:00

6 lines
143 B
TypeScript

import bcrypt from 'bcryptjs';
export const hashPassword = (password: string, salt: string) => {
return bcrypt.hashSync(password, salt);
};