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