@ -78,7 +78,7 @@ export class GoogleStrategy extends PassportStrategy(Strategy, 'google') {
|
|||||||
|
|
||||||
if (!firstVerifiedEmail) {
|
if (!firstVerifiedEmail) {
|
||||||
throw new AuthException(
|
throw new AuthException(
|
||||||
'No verified email found',
|
'Please verify your email address with Google',
|
||||||
AuthExceptionCode.EMAIL_NOT_VERIFIED,
|
AuthExceptionCode.EMAIL_NOT_VERIFIED,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user