102102
103103function updateRegisterButtons ( ) {
104104 if ( session . sessionToken ) {
105- document . getElementById ( 'registerButton' ) . textContent = 'Add credential' ;
106- document . getElementById ( 'registerRkButton' ) . textContent = 'Add resident credential ' ;
105+ document . getElementById ( 'registerButton' ) . textContent = 'Add non-discoverable credential' ;
106+ document . getElementById ( 'registerRkButton' ) . textContent = 'Add passkey ' ;
107107 } else {
108- document . getElementById ( 'registerButton' ) . textContent = 'Register new account' ;
109- document . getElementById ( 'registerRkButton' ) . textContent = 'Register new account with resident credential ' ;
108+ document . getElementById ( 'registerButton' ) . textContent = 'Create account with non-discoverable credential ' ;
109+ document . getElementById ( 'registerRkButton' ) . textContent = 'Create account with passkey ' ;
110110 }
111111}
112112
@@ -535,12 +535,12 @@ <h1> Test your WebAuthn device </h1>
535535 < div > < input type ="text " id ="credentialNickname "/> </ div >
536536 < div >
537537 < button type ="button " id ="registerButton ">
538- Register new account
538+ Create account with non-discoverable credential
539539 </ button >
540540 </ div >
541541 < div >
542542 < button type ="button " id ="registerRkButton ">
543- Register new account with resident credential
543+ Create account with passkey
544544 </ button >
545545 </ div >
546546 </ div >
@@ -550,12 +550,12 @@ <h1> Test your WebAuthn device </h1>
550550 < div > </ div >
551551 < div >
552552 < button type ="button " id ="authenticateWithUsernameButton ">
553- Authenticate
553+ Authenticate with username
554554 </ button >
555555 </ div >
556556 < div >
557557 < button type ="button " id ="authenticateButton ">
558- Authenticate without username
558+ Authenticate with passkey
559559 </ button >
560560 </ div >
561561 </ div >
0 commit comments