Skip to content

Commit

Permalink
fix docs example app router (#1588)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xevrrer authored Jun 8, 2024
1 parent 121498d commit 526a3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/tutorials/username-and-password/nextjs-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ async function login(_: any, formData: FormData): Promise<ActionResult> {
};
}

const validPassword = await verify(existingUser.password, password, {
const validPassword = await verify(existingUser.password_hash, password, {
memoryCost: 19456,
timeCost: 2,
outputLen: 32,
Expand Down

0 comments on commit 526a3fd

Please sign in to comment.