diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2022-01-11 22:33:17 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2022-01-11 22:33:17 +0000 |
commit | 5017e018207e2fd459c2cef01572b2925d09907b (patch) | |
tree | 74e1973394a90d2312030871793bcf3d40f4d58b /regress/usr.bin | |
parent | c6d7a1a23a7f2be64319875ae47d07f1f49ca49c (diff) |
remove hardcoded domain and use window.location.host, so this can
be run anywhere
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/ssh/unittests/sshsig/webauthn.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/unittests/sshsig/webauthn.html b/regress/usr.bin/ssh/unittests/sshsig/webauthn.html index 1869c8b373c..5c9a32e9e47 100644 --- a/regress/usr.bin/ssh/unittests/sshsig/webauthn.html +++ b/regress/usr.bin/ssh/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, |