diff --git a/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx b/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx index bf5cb064031..10fdf26cd6e 100644 --- a/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx +++ b/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx @@ -416,6 +416,8 @@ We can access the supabase instance in our `+page.svelte` file through the data ```js src/routes/login/+page.server.js // src/routes/login/+page.server.js +import { fail } from '@sveltejs/kit' + export const actions = { default: async ({ request, url, locals: { supabase } }) => { const formData = await request.formData()