This commit is contained in:
Sianida26 2024-01-29 00:20:12 +07:00
parent 219cc784b1
commit c044f50b19

View File

@ -9,4 +9,4 @@ import authConfig from "../../../config/auth";
*/
export default async function hashPassword(password: string): Promise<string> {
return bcrypt.hash(password, authConfig.saltRounds);
}
}