2020-07-24 19:19:11 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { FormattedMessage as Message, defineMessages } from 'react-intl';
|
|
|
|
|
2019-12-07 13:28:52 +02:00
|
|
|
import factory from '../factory';
|
2017-08-22 21:39:08 +03:00
|
|
|
import Body from './MfaBody';
|
2020-06-04 19:41:27 +03:00
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
enterTotp: 'Enter code',
|
|
|
|
});
|
2017-08-22 21:39:08 +03:00
|
|
|
|
|
|
|
export default factory({
|
2020-05-24 02:08:24 +03:00
|
|
|
title: messages.enterTotp,
|
|
|
|
body: Body,
|
|
|
|
footer: {
|
|
|
|
color: 'green',
|
2020-07-24 19:19:11 +03:00
|
|
|
children: <Message key="signInButton" defaultMessage="Sign in" />,
|
2020-05-24 02:08:24 +03:00
|
|
|
},
|
2017-08-22 21:39:08 +03:00
|
|
|
});
|