import React from 'react'; import GuestLayout from '@/Layouts/GuestLayout'; import InputError from '@/Components/Defaults/InputError'; import PrimaryButton from '@/Components/Defaults/PrimaryButton'; import TextInput from '@/Components/Defaults/TextInput'; import { Head, useForm } from '@inertiajs/react'; export default function ForgotPassword({ status }) { const { data, setData, post, processing, errors } = useForm({ email: '', }); const onHandleChange = (event) => { setData(event.target.name, event.target.value); }; const submit = (e) => { e.preventDefault(); post(route('password.email')); }; return (
Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.
{status &&
{status}
}
Email Password Reset Link
); }