diff --git a/static/scripts.js b/static/scripts.js index 0dfc93f..a740527 100644 --- a/static/scripts.js +++ b/static/scripts.js @@ -362,6 +362,12 @@ async function displayProfile(opts) { feedback = ""; if (userMail) { verifications.forEach((userId, i) => { + if (!keyData.users[i].userId) { + keyData.users[i].userId = { + email: 'email not specified' + } + } + if (keyData.users[i].userId.email != userMail) { return; }