chore: fix wording on UI from U2F to Hardware Security Key

This commit is contained in:
Karol Sójko
2023-04-20 13:10:37 +02:00
parent 37854c00b2
commit 922a4a2d5d
5 changed files with 11 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ const U2FAuthIframe = () => {
throw new Error('No options returned from server')
}
setInfo('Waiting for U2F device...')
setInfo('Waiting for security key...')
const assertionResponse = await startAuthentication(jsonResponse.data.options)
@@ -96,7 +96,9 @@ const U2FAuthIframe = () => {
return (
<div className="flex h-full w-full flex-col items-center justify-center gap-2">
<div className="mb-2 text-center">Insert your U2F device, then press the button below to authenticate.</div>
<div className="mb-2 text-center">
Insert your hardware security key, then press the button below to authenticate.
</div>
<Button onClick={beginAuthentication}>Authenticate</Button>
<div className="mt-2">
<div>{info}</div>