build ok,

This commit is contained in:
louiscklaw
2025-06-15 11:28:24 +08:00
parent c319c103f6
commit b7cd25b614
1088 changed files with 4376 additions and 7002 deletions

View File

@@ -2,7 +2,6 @@ import bcrypt from 'bcrypt';
const generateHash = async (password: string) => bcrypt.hash(password, await bcrypt.genSalt(10));
const validatePassword = async (password: string, hash: string) =>
bcrypt.compare(password, hash as string);
const validatePassword = async (password: string, hash: string) => bcrypt.compare(password, hash as string);
export { generateHash, validatePassword };