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';
|
2016-05-14 16:56:17 +05:30
|
|
|
import Body from './PasswordBody';
|
2020-06-04 22:11:27 +05:30
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
passwordTitle: 'Enter password',
|
|
|
|
forgotPassword: 'Forgot password',
|
|
|
|
});
|
2016-01-16 17:36:22 +05:30
|
|
|
|
2016-07-24 15:47:41 +05:30
|
|
|
export default factory({
|
2020-05-24 04:38:24 +05:30
|
|
|
title: messages.passwordTitle,
|
|
|
|
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
|
|
|
},
|
|
|
|
links: {
|
|
|
|
label: messages.forgotPassword,
|
|
|
|
},
|
2016-07-24 15:47:41 +05:30
|
|
|
});
|