芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/resources/js/Admin/Pages/Auth/ForgotPassword.jsx
import TextInput from "@/Admin/Components/Inputs/TextInput.jsx"; import {useForm, Head, Link} from "@inertiajs/react"; import FormButton from "@/Admin/Components/Button/FormButton.jsx"; export default function ForgotPassword({status}){ const customize = window.customize_settings // initial value const {data, errors, post, setData, processing, reset} = useForm({ email: '', }) // handle login const handleForgotPassword = (e) => { e.preventDefault(); post(route('auth.password.email'), {onSuccess: () => { reset('email') }}); } return ( <>
Forget 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}
> )}
setData('email', e.target.value)} />
Forgot Password
Login?
{/* .container */}
> ) }