Skip to content

Commit

Permalink
Added user identifier to the EnrollmentSession logging
Browse files Browse the repository at this point in the history
  • Loading branch information
serdiukov-o-nordwhale committed May 6, 2020
1 parent 54c8f2e commit 93b4967
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/verification/processor/EnrollmentSession.js
Expand Up @@ -26,11 +26,12 @@ export default class EnrollmentSession {
}

async enroll(enrollmentIdentifier, payload: any): Promise<any> {
const { log, provider, onEnrollmentProcessing } = this
const { log, user, provider, onEnrollmentProcessing } = this
let result = { success: true }

log.info('Enrollment session started', {
enrollmentIdentifier,
userIdentifier: user.loggedInAs,
payload: omit(payload, 'faceMap', 'auditTrailImage', 'lowQualityAuditTrailImage')
})

Expand Down

0 comments on commit 93b4967

Please sign in to comment.