Initial commit

This commit is contained in:
Developer
2026-02-06 21:44:04 -06:00
commit f85e93c7a6
151 changed files with 22916 additions and 0 deletions

9
lib/auth/password.ts Normal file
View File

@@ -0,0 +1,9 @@
import bcrypt from "bcryptjs";
export async function hashPassword(pw: string) {
return bcrypt.hash(pw, 10);
}
export async function verifyPassword(pw: string, hash: string) {
return bcrypt.compare(pw, hash);
}