Ghost/ghost/members-api/static/auth/pages/RequestPasswordResetPage.js
Rish bc889ae9a0 Refactored members auth flow with dynamic settings
no issue

- Updated members auth flow UI
- Updated members settings and routing to be dynamic
2019-05-07 17:35:17 +02:00

19 lines
744 B
JavaScript

import FormHeader from '../components/FormHeader';
import EmailInput from '../components/EmailInput';
import FormSubmit from '../components/FormSubmit';
import Form from '../components/Form';
export default ({ error, handleClose, handleSubmit }) => (
<div className="gm-modal-form gm-reset-pwd-page">
<FormHeader title="Reset password" error={error} errorText="Unable to send email" />
<Form bindTo="request-password-reset" onSubmit={handleSubmit}>
<EmailInput bindTo="email" className="single" />
<FormSubmit label="Send reset password instructions" />
<div class="flex justify-center mt5">
<a href="#signin">Cancel</a>
</div>
</Form>
</div>
);