aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/ForgotPassword.js
blob: 90b06665f87ccd9355cdb02b71c20776125d07a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import React from "react";
import FlexibleForm from "../components/FlexibleForm";
import benefitTwoImg from "../assets/img/benefit-two.png";

const ForgotPassword = () => {
    return (
        <>
            <FlexibleForm
                route="/login"
                data={{
                    image: benefitTwoImg,
                    title: "Reset your password",
                    subtitle: "Enter the email associated with your account.",
                    formAction: process.env.API_URL,
                    formMethod: "POST",
                    formFields: [
                        { label: "Email address", name: "email", type: "email", autoComplete: "email", required: true },
                    ],
                    underneathButton: {url: "/login", text: "Back" }
                }}
            />
        </>
    );
};
export default ForgotPassword;