MCPcopy Index your code
hub / github.com/epicweb-dev/epic-stack / getPasswordHash

Function getPasswordHash

app/utils/auth.server.ts:215–218  ·  view source on GitHub ↗
(password: string)

Source from the content-addressed store, hash-verified

213}
214
215export async function getPasswordHash(password: string) {
216 const hash = await bcrypt.hash(password, 10)
217 return hash
218}
219
220export async function verifyUserPassword(
221 where: Pick<User, 'username'> | Pick<User, 'id'>,

Callers 5

actionFunction · 0.90
actionFunction · 0.90
getOrInsertUserFunction · 0.90
resetUserPasswordFunction · 0.85
signupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected