From 5777d083b8b0286429e363267752c06d12757879 Mon Sep 17 00:00:00 2001 From: deepanshu baghel <106313726+Deepanshuu06@users.noreply.github.com> Date: Sat, 27 Apr 2024 15:53:43 +0530 Subject: [PATCH] Update credentials.mdx --- docs/pages/getting-started/providers/credentials.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/getting-started/providers/credentials.mdx b/docs/pages/getting-started/providers/credentials.mdx index bf9240e237..a02a3a3c9c 100644 --- a/docs/pages/getting-started/providers/credentials.mdx +++ b/docs/pages/getting-started/providers/credentials.mdx @@ -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)