diff --git a/assets/scripts.js b/assets/scripts.js index a2fbcb4..7e4e1ea 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -215,7 +215,7 @@ async function displayProfile(opts) { feedback += `
general information
`; feedback += ``; for (var i = 0; i < keyData.publicKey.users.length; i++) { - if (keyData.publicKey.users[i].userId && 'email' in keyData.publicKey.users[i].userId) { + if (keyData.publicKey.users[i].userId && 'email' in keyData.publicKey.users[i].userId && keyData.publicKey.users[i].userId.email) { feedback += `
`; feedback += `
email
`; feedback += `
${keyData.publicKey.users[i].userId.email}
`;