Skip to content

Commit

Permalink
Update credentials.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepanshuu06 committed Apr 27, 2024
1 parent 4ca3973 commit 5777d08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/getting-started/providers/credentials.mdx
Expand Up @@ -47,9 +47,9 @@ import Credentials from "@auth/sveltekit/providers/credentials"
export const { handle, signIn, signOut } = SvelteKitAuth({
providers: [
Credentials({
credentials: {
username: { label: "Username" },
password: { label: "Password", type: "password" },
credentials: {
username: { label: "Username", placeholder: "username" },
password: { label: "Password", type: "password", placeholder: "password" },
},
async authorize({ request }) {
const response = await fetch(request)
Expand Down

0 comments on commit 5777d08

Please sign in to comment.