mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-09 09:27:38 +08:00
fixed authEvent
This commit is contained in:
parent
b8b52248c2
commit
65657848b0
1 changed files with 1 additions and 2 deletions
|
@ -674,11 +674,10 @@ class UserHandler {
|
|||
|
||||
meta.result = 'success';
|
||||
|
||||
this.logAuthEvent(userData._id, meta, (err, r) => {
|
||||
this.logAuthEvent(userData._id, meta, (err, authEvent) => {
|
||||
if (err) {
|
||||
// don't really care
|
||||
}
|
||||
let authEvent = r && r.insertedId;
|
||||
this.users.collection('asps').findOneAndUpdate(
|
||||
{
|
||||
_id: asp._id
|
||||
|
|
Loading…
Reference in a new issue