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

Commit

Permalink
fix(push): add verification push event to push log
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed May 31, 2016
1 parent 1bc06c9 commit e5d609a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/routes/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,11 @@ module.exports = function (
if (request.query && request.query.reason === 'push') {
// only log recovery_email requests with 'push' to avoid sending too many requests.
log.increment('recovery_email_reason.push')
// log to the push namespace that account was verified via push
log.info({
op: 'push.pushToDevices',
name: 'recovery_email_reason.push'
})
}

cleanUpIfAccountInvalid()
Expand Down

0 comments on commit e5d609a

Please sign in to comment.