Skip to content

Commit 46e01af

Browse files
authored
chore(docs): update credentials.md app router route.js filename (#13025)
Update credentials.md
1 parent 11939f2 commit 46e01af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/docs/providers/credentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If you return an object it will be persisted to the JSON Web Token and the user
3737

3838
The Credentials provider's `authorize()` method also provides the request object as the second parameter (see example below).
3939

40-
```js title="pages/api/auth/[...nextauth].js"
40+
```js title="pages/api/auth/[...nextauth]/route.js"
4141
import CredentialsProvider from "next-auth/providers/credentials";
4242
...
4343
providers: [

0 commit comments

Comments
 (0)