Skip to content

The open alternative to Salesforce, designed for AI.

Improve auth google error msg (#13431)

Thomas Trompetteae13d08017a9
diff --git a/packages/twenty-server/src/engine/core-modules/auth/strategies/google.auth.strategy.ts b/packages/twenty-server/src/engine/core-modules/auth/strategies/google.auth.strategy.ts
index b4aa715fe15..eb96e6e23e9 100644
--- a/packages/twenty-server/src/engine/core-modules/auth/strategies/google.auth.strategy.ts
+++ b/packages/twenty-server/src/engine/core-modules/auth/strategies/google.auth.strategy.ts
@@ -78,7 +78,7 @@ export class GoogleStrategy extends PassportStrategy(Strategy, 'google') {
if (!firstVerifiedEmail) {
throw new AuthException(
- 'No verified email found',
+ 'Please verify your email address with Google',
AuthExceptionCode.EMAIL_NOT_VERIFIED,
);
}