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