2
0
Files
cal/calcom/packages/features/auth/lib/hashPassword.ts
2024-08-09 00:39:27 +02:00

7 lines
167 B
TypeScript

import { hash } from "bcryptjs";
export async function hashPassword(password: string) {
const hashedPassword = await hash(password, 12);
return hashedPassword;
}