From d4c9512a080008e4ef2a6d98a42e29bec8a7e0c3 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 27 Jun 2020 12:34:51 +0200 Subject: [PATCH] Allow multiple email addresses --- assets/scripts.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/assets/scripts.js b/assets/scripts.js index fa124f6..dbd001d 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -181,15 +181,19 @@ async function displayProfile(opts) { verifications.push(await verifyProof(notation[1], keyData.fingerprint)); } + console.log(keyData); + // Generate feedback feedback += `
`; feedback += `
`; feedback += `
general information
`; feedback += `
`; - feedback += `
`; - feedback += `
email
`; - feedback += ``; - feedback += `
`; + for (var i = 0; i < keyData.publicKey.users.length; i++) { + feedback += `
`; + feedback += `
email
`; + feedback += ``; + feedback += `
`; + } feedback += `
`; feedback += `
fingerprint
`; feedback += ``;