diff --git a/static/scripts.js b/static/scripts.js index e9fd9be..6d4fb99 100644 --- a/static/scripts.js +++ b/static/scripts.js @@ -70,6 +70,9 @@ elFormVerify.onsubmit = async function (evt) { evt.preventDefault(); try { + // Fetch a key if needed + await fetchProfileKey(); + // Try two different methods of signature reading let signature = null, verified = null, readError = null; try {