Skip to content

Commit 53ddee3

Browse files
authored
Docs: fix typo to match file name to code example (#1692)
1 parent cfe8251 commit 53ddee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/tutorials/username-and-password/nextjs-pages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export default function Page() {
209209
}
210210
```
211211

212-
Create an API route as `pages/api/signup.ts`. First, do a very basic input validation. Get the user with the username and verify the password. If successful, create a new session with `Lucia.createSession()` and set a new session cookie.
212+
Create an API route as `pages/api/login.ts`. First, do a very basic input validation. Get the user with the username and verify the password. If successful, create a new session with `Lucia.createSession()` and set a new session cookie.
213213

214214
```ts
215215
// pages/api/login.ts

0 commit comments

Comments
 (0)