'Lupa Kata Sandi', ])] class ForgotPassword extends Component { use WithToast; #[Validate(['required', 'string'])] public string $email = ''; public function sendLink() { $this->validate(); $status = Password::sendResetLink( $this->only('email') ); return $status === Password::ResetLinkSent ? $this->toast(__($status), 'Berhasil') : $this->toast(__($status), 'Gagal', 'danger'); } public function render() { return view('livewire.auth.forgot-password'); } }