芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/resources/js/Admin/Pages/Auth/ResetPassword.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 ResetPassword({token, email, status}){ const customize = window.customize_settings // initial value const {data, errors, post, setData, processing} = useForm({ password: '', password_confirmation: '', token: token, email: email, }) // handle login const handlePasswordReset = (e) => { e.preventDefault(); post(route('auth.password.store')); } return ( <>
Reset your password
{status && ( <>
{status}
> )}
setData('password', e.target.value)} />
setData('password_confirmation', e.target.value)} />
Reset Password
{/* .container */}
> ) }