Remove error data from log
This commit is contained in:
parent
fc4fa88295
commit
f5d06f8782
|
@ -299,8 +299,7 @@ class User {
|
|||
if (await ad.checkBinding()) {
|
||||
logWarning({
|
||||
tags: ['user', 'login', 'password'],
|
||||
message: `User ${username} tried to login but failed`,
|
||||
data: err
|
||||
message: `User ${username} tried to login but failed`
|
||||
})
|
||||
throw new Error('Usuário ou senha inválidos.')
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user