📈 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
Format
Blue Mouse5c103339cf65
diff --git a/backend/apps/community/src/twoFactorAuth/twoFactorAuth.controller.ts b/backend/apps/community/src/twoFactorAuth/twoFactorAuth.controller.tsindex c36507795..7896597b1 100644--- a/backend/apps/community/src/twoFactorAuth/twoFactorAuth.controller.ts+++ b/backend/apps/community/src/twoFactorAuth/twoFactorAuth.controller.ts@@ -101,8 +101,9 @@ export class TwoFactorAuthController {}const twoFactorRecoveryCode = generateRecoveryCode()- const hashedRecoveryCode =- await this.twoFactorAuthService.hashRecoveryCode(twoFactorRecoveryCode)+ const hashedRecoveryCode = await this.twoFactorAuthService.hashRecoveryCode(+ twoFactorRecoveryCode,+ )await this.userService.update(user.id, {isTwoFactorAuthenticationEnabled: 1,