chore(server): filter out some logs (#9059)

This commit is contained in:
darkskygit
2024-12-12 09:19:48 +00:00
parent 69e5997608
commit cdb55a3393
6 changed files with 51 additions and 19 deletions

View File

@@ -184,7 +184,7 @@ export class UserService {
const user = await this.findUserWithHashedPasswordByEmail(email);
if (!user) {
throw new WrongSignInCredentials();
throw new WrongSignInCredentials({ email });
}
if (!user.password) {
@@ -197,7 +197,7 @@ export class UserService {
);
if (!passwordMatches) {
throw new WrongSignInCredentials();
throw new WrongSignInCredentials({ email });
}
return user;