summaryrefslogtreecommitdiff
path: root/regress/unittests/sshsig/webauthn.html
diff options
context:
space:
mode:
Diffstat (limited to 'regress/unittests/sshsig/webauthn.html')
-rw-r--r--regress/unittests/sshsig/webauthn.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/unittests/sshsig/webauthn.html b/regress/unittests/sshsig/webauthn.html
index 1869c8b37..5c9a32e9e 100644
--- a/regress/unittests/sshsig/webauthn.html
+++ b/regress/unittests/sshsig/webauthn.html
@@ -372,8 +372,8 @@ function enrollStart(username) {
let pkopts = {
challenge: challenge,
rp: {
- name: "mindrot.org",
- id: "mindrot.org",
+ name: window.location.host,
+ id: window.location.host,
},
user: {
id: userid,
@@ -590,7 +590,7 @@ async function assertform_submit(event) {
function assertStart(message) {
let assertReqOpts = {
challenge: message,
- rpId: "mindrot.org",
+ rpId: window.location.host,
allowCredentials: [{
type: 'public-key',
id: window.enrollResult.rawId,