Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
feat(activity): log successful account resets
Browse files Browse the repository at this point in the history
Fixes #1144
  • Loading branch information
vladikoff committed Jan 4, 2016
1 parent 726351e commit f244af6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/routes/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,9 @@ module.exports = function (
)
.then(
function (accountRecord) {
log.activityEvent('account.reset', request, {
uid: accountResetToken.uid.toString('hex')
})
return customs.reset(accountRecord.email)
}
)
Expand Down

0 comments on commit f244af6

Please sign in to comment.