aboutsummaryrefslogtreecommitdiffstats
path: root/pages/forgot-password.js
blob: c110aadaf08b3eb864107780de26814ced64a5d6 (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
26
import React from "react";
import FlexibleForm from "../components/flexibleForm";
import benefitTwoImg from "../public/img/benefit-two.png";

const ForgotPassword = () => {
    return (
        <>
            <FlexibleForm
                imgPos="right"
                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;