Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cmd/age-keyserver/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ <h2>Submit or manage your key</h2>
resultDiv.innerHTML = '<p style="margin-top: 1rem;" class="error">Error looking up key.</p>';
}
});

let params = new URLSearchParams(document.location.search);
let emailParam = params.get("email")
Comment thread
SVilgelm marked this conversation as resolved.
Outdated
Comment thread
SVilgelm marked this conversation as resolved.
Outdated
if (emailParam !== null) {
Comment thread
SVilgelm marked this conversation as resolved.
Outdated
document.getElementById('lookup-email').value = emailParam;
document.getElementById('lookup-form').requestSubmit();
}
Comment thread
SVilgelm marked this conversation as resolved.
Outdated
</script>
</body>
</html>