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 += `
${userData.email}
`; - feedback += `
`; + for (var i = 0; i < keyData.publicKey.users.length; i++) { + feedback += `
`; + feedback += `
email
`; + feedback += `
${keyData.publicKey.users[i].userId.email}
`; + feedback += `
`; + } feedback += `
`; feedback += `
fingerprint
`; feedback += `
${keyData.fingerprint}
`;