Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added isEmailVerified in alias as well

=5da4dbec204e
diff --git a/backend/src/services/auth/auth-login-service.ts b/backend/src/services/auth/auth-login-service.ts
index b720c6709d..ec42c01f37 100644
--- a/backend/src/services/auth/auth-login-service.ts
+++ b/backend/src/services/auth/auth-login-service.ts
@@ -1162,7 +1162,8 @@ export const authLoginServiceFactory = ({
aliasType,
externalId: providerUserId,
emails: [email],
- orgId: orgId || null
+ orgId: orgId || null,
+ isEmailVerified: true
},
tx
);
@@ -1248,7 +1249,8 @@ export const authLoginServiceFactory = ({
aliasType,
externalId: providerUserId,
emails: [email],
- orgId: orgId || null
+ orgId: orgId || null,
+ isEmailVerified: true
});
} catch (err) {
// Swallow duplicate key errors from the unique index (race condition: concurrent login already created the alias)