From f1083290affe14be9cd40cce8e35443330a6e646 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 28 Jun 2020 22:54:17 +0200 Subject: [PATCH] Minor changes --- assets/scripts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/scripts.js b/assets/scripts.js index 9e4ac1e..77d89f3 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -584,12 +584,14 @@ if (elFormProofs) { if (elProfileUid) { let match, opts, profileUid = elProfileUid.innerHTML; if (/.*@.*/.test(profileUid)) { + // Match email for wkd match = profileUid.match(/(.*)@(.*)_([a-zA-Z0-9]+)$/); opts = { input: `${match[1]}@${match[2]}.${match[3]}`, mode: "wkd" } } else { + // Match fingerprint for hkp opts = { input: profileUid, mode: "hkp"