chore: dump packages

This commit is contained in:
Elias Schneider
2023-03-10 09:40:09 +01:00
parent 0455ba1bc1
commit 452c635933
7 changed files with 1450 additions and 856 deletions

View File

@@ -42,7 +42,7 @@ export class AuthTotpService {
throw new UnauthorizedException("Invalid login token");
if (token.expiresAt < new Date())
throw new UnauthorizedException("Login token expired");
throw new UnauthorizedException("Login token expired", "token_expired");
// Check the TOTP code
const { totpSecret } = await this.prisma.user.findUnique({