Add create user form

This commit is contained in:
Manuel
2023-07-29 17:29:57 +02:00
parent e045081346
commit e273c830b4
6 changed files with 263 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
import bcrypt from "bcrypt";
import bcrypt from 'bcrypt';
export const hashPassword = (password: string, salt: string) => {
return bcrypt.hashSync(password, salt);