2020-06-04 19:41:27 +03:00
|
|
|
import { defineMessages } from 'react-intl';
|
2019-12-07 13:28:52 +02:00
|
|
|
import factory from '../factory';
|
2016-05-14 14:26:17 +03:00
|
|
|
import Body from './PasswordBody';
|
2020-06-04 19:41:27 +03:00
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
passwordTitle: 'Enter password',
|
|
|
|
signInButton: 'Sign in',
|
|
|
|
forgotPassword: 'Forgot password',
|
|
|
|
});
|
2016-01-16 14:06:22 +02:00
|
|
|
|
2016-07-24 13:17:41 +03:00
|
|
|
export default factory({
|
2020-05-24 02:08:24 +03:00
|
|
|
title: messages.passwordTitle,
|
|
|
|
body: Body,
|
|
|
|
footer: {
|
|
|
|
color: 'green',
|
|
|
|
label: messages.signInButton,
|
|
|
|
},
|
|
|
|
links: {
|
|
|
|
label: messages.forgotPassword,
|
|
|
|
},
|
2016-07-24 13:17:41 +03:00
|
|
|
});
|