diff --git a/pr/create-without-user-activation/pr.js b/pr/create-without-user-activation/pr.js index 533d40d..4163b17 100644 --- a/pr/create-without-user-activation/pr.js +++ b/pr/create-without-user-activation/pr.js @@ -19,7 +19,7 @@ async function createCredentialInner(residentKey, requireResidentKey) { // (e.g., the Passkeys UX on Chrome MacOS 108+). This is for display ONLY, // and has no bearing on SPC's functionality in general. (For example, it // is NOT shown in the SPC transaction dialog.) - name: 'Demo User on ' + window.location.hostname, + name: 'Demo User', displayName: '', id: Uint8Array.from(userId, c => c.charCodeAt(0)), } diff --git a/pr/spc-cc/pr.js b/pr/spc-cc/pr.js index 70117f3..9967961 100644 --- a/pr/spc-cc/pr.js +++ b/pr/spc-cc/pr.js @@ -20,7 +20,7 @@ async function createCredentialCompat() { rp, instrument: { icon: 'https://rsolomakhin.github.io/pr/spc/troy.png', - name: 'Demo User on ' + window.location.hostname, + name: 'Demo User', displayName: '', }, challenge, @@ -37,7 +37,7 @@ async function createCredentialCompat() { rp, user: { id: Uint8Array.from(String(Math.random()*999999999), c => c.charCodeAt(0)), - name: 'Demo User on ' + window.location.hostname, + name: 'Demo User', displayName: '', }, challenge, diff --git a/pr/spc-create-in-cross-origin-iframe/pr.js b/pr/spc-create-in-cross-origin-iframe/pr.js index 8d95034..891a0aa 100644 --- a/pr/spc-create-in-cross-origin-iframe/pr.js +++ b/pr/spc-create-in-cross-origin-iframe/pr.js @@ -19,7 +19,7 @@ async function createCredentialInner(residentKey, requireResidentKey) { // (e.g., the Passkeys UX on Chrome MacOS 108+). This is for display ONLY, // and has no bearing on SPC's functionality in general. (For example, it // is NOT shown in the SPC transaction dialog.) - name: 'Demo User on ' + window.location.hostname, + name: 'Demo User', displayName: '', id: Uint8Array.from(userId, c => c.charCodeAt(0)), } diff --git a/pr/spc-create-resident-key/pr.js b/pr/spc-create-resident-key/pr.js index 8d95034..891a0aa 100644 --- a/pr/spc-create-resident-key/pr.js +++ b/pr/spc-create-resident-key/pr.js @@ -19,7 +19,7 @@ async function createCredentialInner(residentKey, requireResidentKey) { // (e.g., the Passkeys UX on Chrome MacOS 108+). This is for display ONLY, // and has no bearing on SPC's functionality in general. (For example, it // is NOT shown in the SPC transaction dialog.) - name: 'Demo User on ' + window.location.hostname, + name: 'Demo User', displayName: '', id: Uint8Array.from(userId, c => c.charCodeAt(0)), } diff --git a/pr/spc_util.js b/pr/spc_util.js index a2dbeae..54961c7 100644 --- a/pr/spc_util.js +++ b/pr/spc_util.js @@ -29,7 +29,7 @@ async function createCredential(setPaymentExtension, optionalOverrides = {}) { // (e.g., the Passkeys UX on Chrome MacOS 108+). This is for display ONLY, // and has no bearing on SPC's functionality in general. (For example, it // is NOT shown in the SPC transaction dialog.) - name: 'Demo User on ' + window.location.hostname, + name: 'Demo User', displayName: '', id: Uint8Array.from(userId, c => c.charCodeAt(0)), }