update(auth()->user(), $this->all()); $this->current_password = ''; $this->password = ''; $this->password_confirmation = ''; session()->flash('status', 'password-updated'); } public function render(): View { return view('livewire.profile.update-password'); } }