📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
impr
Blue Mousee86ac8372b02
diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.tsindex 1c643a85c..ffed0eb47 100644--- a/src/auth/auth.service.ts+++ b/src/auth/auth.service.ts@@ -578,6 +578,8 @@ export class AuthService {) {let tokenInfo+ console.log(token, hash)+try {tokenInfo = await this.oauth2Client.getTokenInfo(token)} catch (reason) {@@ -587,6 +589,8 @@ export class AuthService {const { sub, email } = tokenInfo+ console.log(sub, email)+// TODO: Only store the email if email_verified is trueconst dataToStore = JSON.stringify({ sub, email })diff --git a/src/user/user.controller.ts b/src/user/user.controller.tsindex 2c2191ad2..853145930 100644--- a/src/user/user.controller.ts+++ b/src/user/user.controller.ts@@ -578,6 +578,8 @@ export class UserController {'trialEndDate','cancellationEffectiveDate','trialReminderSent',+ 'googleId',+ 'registeredWithGoogle',])await this.userService.update(id, userToUpdate)diff --git a/src/user/user.service.ts b/src/user/user.service.tsindex 07e7a75ab..4b90c5a03 100644--- a/src/user/user.service.ts+++ b/src/user/user.service.ts@@ -70,6 +70,7 @@ export class UserService {'password','twoFactorRecoveryCode','twoFactorAuthenticationSecret',+ 'googleId',])}