import {CopyOutlined, UserOutlined} from "@ant-design/icons"; import {Button, Col, Form, Input, QRCode, Space} from "antd"; import copy from "copy-to-clipboard"; import i18next from "i18next"; import React from "react"; import * as Setting from "../../Setting"; export const MfaVerifyTotpForm = ({mfaProps, onFinish}) => { const [form] = Form.useForm(); const renderSecret = () => { if (!mfaProps.secret) { return null; } return (

{i18next.t("mfa:Scan the QR code with your Authenticator App")}

{i18next.t("mfa:Or copy the secret to your Authenticator App")}

); }; export default MfaVerifyTotpForm;