update comments for hashing password

This commit is contained in:
ImAlpha 2023-12-04 22:42:40 -08:00
parent 99873efddb
commit f4d0660d26

View File

@ -22,6 +22,7 @@ export async function POST(request: Request) {
return NextResponse.json({ message: "failed" });
}
// Use Bcrypt to hash password
const hashedPassword = await hash(password, 10);
// console.log({message:'hash is', hashedPassword})