����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.145.50.27 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/cbt.bofirm.com/vendor/laravel/jetstream/src/Http/Livewire/ |
Upload File : |
<?php namespace Laravel\Jetstream\Http\Livewire; use Illuminate\Support\Facades\Auth; use Laravel\Fortify\Contracts\UpdatesUserPasswords; use Livewire\Component; class UpdatePasswordForm extends Component { /** * The component's state. * * @var array */ public $state = [ 'current_password' => '', 'password' => '', 'password_confirmation' => '', ]; /** * Update the user's password. * * @param \Laravel\Fortify\Contracts\UpdatesUserPasswords $updater * @return void */ public function updatePassword(UpdatesUserPasswords $updater) { $this->resetErrorBag(); $updater->update(Auth::user(), $this->state); $this->state = [ 'current_password' => '', 'password' => '', 'password_confirmation' => '', ]; $this->emit('saved'); } /** * Get the current user of the application. * * @return mixed */ public function getUserProperty() { return Auth::user(); } /** * Render the component. * * @return \Illuminate\View\View */ public function render() { return view('profile.update-password-form'); } }