'Lupa Kata Sandi', ])] class ForgotPassword extends Component { use WithToast; public ForgotPasswordForm $form; public function sendLink(): void { $this->form->validate(); $status = Password::sendResetLink(['email' => $this->form->email]); if ($status === Password::RESET_LINK_SENT) { $this->toast(__($status), 'Berhasil'); $this->form->reset(); } else { $this->toast(__($status), 'Gagal', 'danger'); } } public function render(): View { return view('livewire.auth.forgot-password'); } }