File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import {
30
30
signupWithConnection ,
31
31
requireAnonymous ,
32
32
} from '#app/utils/auth.server.ts'
33
+ import { connectionSessionStorage } from '#app/utils/connections.server'
33
34
import { ProviderNameSchema } from '#app/utils/connections.tsx'
34
35
import { prisma } from '#app/utils/db.server.ts'
35
36
import { useIsPending } from '#app/utils/misc.tsx'
@@ -83,15 +84,15 @@ async function requireData({
83
84
84
85
export async function loader ( { request, params } : LoaderFunctionArgs ) {
85
86
const { email } = await requireData ( { request, params } )
86
- const authSession = await authSessionStorage . getSession (
87
+ const connectionSession = await connectionSessionStorage . getSession (
87
88
request . headers . get ( 'cookie' ) ,
88
89
)
89
90
const verifySession = await verifySessionStorage . getSession (
90
91
request . headers . get ( 'cookie' ) ,
91
92
)
92
93
const prefilledProfile = verifySession . get ( prefilledProfileKey )
93
94
94
- const formError = authSession . get ( authenticator . sessionErrorKey )
95
+ const formError = connectionSession . get ( authenticator . sessionErrorKey )
95
96
const hasError = typeof formError === 'string'
96
97
97
98
return json ( {
You can’t perform that action at this time.
0 commit comments