Skip to content

📈 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!

Fixed transmitted data to generate JWT tokens at login

Yevhenii Kulisidi5ff6d1a3847d
diff --git a/src/auth/auth.controller.ts b/src/auth/auth.controller.ts
index c3cb8edc4..be2198664 100644
--- a/src/auth/auth.controller.ts
+++ b/src/auth/auth.controller.ts
@@ -131,10 +131,7 @@ export class AuthController {
await this.authService.sendTelegramNotification(user.id, headers, ip)
- const jwtTokens = await this.authService.generateJwtTokens(
- user.id,
- user.isTwoFactorAuthenticationEnabled,
- )
+ const jwtTokens = await this.authService.generateJwtTokens(user.id)
return {
accessToken: jwtTokens.accessToken,