Skip to content

Commit 5c1df87

Browse files
authored
docs(auth): var name
1 parent 2f79d6d commit 5c1df87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/3.authentication.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ You must enable the `cookieRedirect` option of the [redirectOptions](/get-starte
9090
const user = useSupabaseUser()
9191
9292
// Get redirect path from cookies
93-
const config = useRuntimeConfig().public.supabase.cookieName
93+
const cookieName = useRuntimeConfig().public.supabase.cookieName
9494
const redirectPath = useCookie(`${cookieName}-redirect-path`).value
9595
9696
watch(user, () => {

0 commit comments

Comments
 (0)