102
102
103
103
function updateRegisterButtons ( ) {
104
104
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 ' ;
107
107
} 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 ' ;
110
110
}
111
111
}
112
112
@@ -535,12 +535,12 @@ <h1> Test your WebAuthn device </h1>
535
535
< div > < input type ="text " id ="credentialNickname "/> </ div >
536
536
< div >
537
537
< button type ="button " id ="registerButton ">
538
- Register new account
538
+ Create account with non-discoverable credential
539
539
</ button >
540
540
</ div >
541
541
< div >
542
542
< button type ="button " id ="registerRkButton ">
543
- Register new account with resident credential
543
+ Create account with passkey
544
544
</ button >
545
545
</ div >
546
546
</ div >
@@ -550,12 +550,12 @@ <h1> Test your WebAuthn device </h1>
550
550
< div > </ div >
551
551
< div >
552
552
< button type ="button " id ="authenticateWithUsernameButton ">
553
- Authenticate
553
+ Authenticate with username
554
554
</ button >
555
555
</ div >
556
556
< div >
557
557
< button type ="button " id ="authenticateButton ">
558
- Authenticate without username
558
+ Authenticate with passkey
559
559
</ button >
560
560
</ div >
561
561
</ div >
0 commit comments