mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
refactor: Update QR code description for two-factor authentication
This commit is contained in:
parent
0fd161d251
commit
cc432dfa1c
@ -227,9 +227,11 @@ const LoginPage: () => JSX.Element = () => {
|
||||
|
||||
const result: HTTPErrorResponse | HTTPResponse<JSONObject> =
|
||||
await API.post(VERIFY_TWO_FACTOR_AUTH_API_URL, {
|
||||
data: initialValues,
|
||||
code: code,
|
||||
twoFactorAuthId: twoFactorAuthId,
|
||||
data: {
|
||||
...initialValues,
|
||||
code: code,
|
||||
twoFactorAuthId: twoFactorAuthId,
|
||||
},
|
||||
});
|
||||
|
||||
if (result instanceof HTTPErrorResponse) {
|
||||
|
@ -137,7 +137,7 @@ const Home: FunctionComponent<PageComponentProps> = (): ReactElement => {
|
||||
{showVerificationModal && selectedTwoFactorAuth ? (
|
||||
<BasicFormModal
|
||||
title={`Verify ${selectedTwoFactorAuth.name}`}
|
||||
description={`Please scan this QR code with your authenticator app and enter the code below.`}
|
||||
description={`Please scan this QR code with your authenticator app and enter the code below. This code works with Google Authenticator.`}
|
||||
formProps={{
|
||||
error: verificationError || undefined,
|
||||
fields: [
|
||||
|
Loading…
Reference in New Issue
Block a user