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