File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/app/(auth)/sso/google/callback Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { decodeIdToken } from "arctic";
1010import { getDB } from "@/db" ;
1111import { eq } from "drizzle-orm" ;
1212import { userTable } from "@/db/schema" ;
13- import { createAndStoreSession , canSignUp } from "@/utils/auth" ;
13+ import { createAndStoreSession } from "@/utils/auth" ;
1414import { isGoogleSSOEnabled } from "@/flags" ;
1515import { getIP } from "@/utils/get-IP" ;
1616
@@ -97,9 +97,6 @@ export const googleSSOCallbackAction = createServerAction()
9797 const avatarUrl = claims . picture ;
9898 const email = claims . email ;
9999
100- // Check if email is disposable
101- await canSignUp ( { email } ) ;
102-
103100 const db = getDB ( ) ;
104101
105102 try {
@@ -166,4 +163,3 @@ export const googleSSOCallbackAction = createServerAction()
166163 }
167164 } , RATE_LIMITS . GOOGLE_SSO_CALLBACK ) ;
168165 } ) ;
169-
You can’t perform that action at this time.
0 commit comments