accounts-frontend/packages/app/components/auth/mfa/Mfa.tsx

19 lines
431 B
TypeScript
Raw Normal View History

2020-07-24 21:49:11 +05:30
import React from 'react';
import { FormattedMessage as Message, defineMessages } from 'react-intl';
2019-12-07 16:58:52 +05:30
import factory from '../factory';
2017-08-23 00:09:08 +05:30
import Body from './MfaBody';
const messages = defineMessages({
enterTotp: 'Enter code',
});
2017-08-23 00:09:08 +05:30
export default factory({
2020-05-24 04:38:24 +05:30
title: messages.enterTotp,
body: Body,
footer: {
color: 'green',
2020-07-24 21:49:11 +05:30
children: <Message key="signInButton" defaultMessage="Sign in" />,
2020-05-24 04:38:24 +05:30
},
2017-08-23 00:09:08 +05:30
});