Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor fix

daniel31x13b455dd6a7efd
diff --git a/apps/web/pages/api/v1/auth/[...nextauth].ts b/apps/web/pages/api/v1/auth/[...nextauth].ts
index 04211912..2fae0d86 100644
--- a/apps/web/pages/api/v1/auth/[...nextauth].ts
+++ b/apps/web/pages/api/v1/auth/[...nextauth].ts
@@ -1440,7 +1440,7 @@ export default async function auth(req: NextApiRequest, res: NextApiResponse) {
});
if (findUser && findUser.accounts.length === 0) {
- if (!ssoEmailVerified(profile)) {
+ if (account.type !== "email" && !ssoEmailVerified(profile)) {
return false;
}