mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
do not expose email in error
This commit is contained in:
parent
3c3ccdb133
commit
80ff425e39
@ -801,7 +801,7 @@ export class UserResolver {
|
||||
}
|
||||
const emailContact = user.emailContact
|
||||
if (emailContact.deletedAt) {
|
||||
throw new LogError(`The emailContact: ${email} of this User is deleted`, email)
|
||||
throw new LogError('The given email contact for this user is deleted', email)
|
||||
}
|
||||
|
||||
emailContact.emailResendCount++
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user