chore: fix wording on UI from U2F to Hardware Security Key
This commit is contained in:
@@ -60,7 +60,7 @@ const U2FAddDeviceView: FunctionComponent<Props> = ({
|
||||
|
||||
return (
|
||||
<Modal
|
||||
title="Add U2F Device"
|
||||
title="Add Security Key"
|
||||
close={closeModal}
|
||||
actions={[
|
||||
{
|
||||
|
||||
@@ -13,14 +13,14 @@ const U2FDescription: FunctionComponent<Props> = ({ userProvider }) => {
|
||||
const application = useApplication()
|
||||
|
||||
if (userProvider.getUser() === undefined) {
|
||||
return <Text>Sign in or register for an account to configure U2F.</Text>
|
||||
return <Text>Sign in or register for an account to configure hardware security keys.</Text>
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Text>Authenticate with a U2F hardware device such as Yubikey.</Text>
|
||||
<Text>Authenticate with a hardware security key such as Yubikey.</Text>
|
||||
{!application.isFullU2FClient && (
|
||||
<Text className="italic">Please visit the web app in order to add a U2F Device.</Text>
|
||||
<Text className="italic">Please visit the web app in order to add a hardware security key.</Text>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -10,10 +10,10 @@ type Props = {
|
||||
|
||||
const U2FTitle: FunctionComponent<Props> = ({ userProvider }) => {
|
||||
if (userProvider.getUser() === undefined) {
|
||||
return <Title>Universal 2nd factor authentication not available</Title>
|
||||
return <Title>Hardware security key authentication not available</Title>
|
||||
}
|
||||
|
||||
return <Title>Universal 2nd Factor Authentication</Title>
|
||||
return <Title>Hardware Security Key Authentication</Title>
|
||||
}
|
||||
|
||||
export default observer(U2FTitle)
|
||||
|
||||
Reference in New Issue
Block a user