芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Actions/Fortify/UpdateUserPassword.php
['required', 'string'], 'password' => $this->passwordRules(), ])->after(function ($validator) use ($user, $input) { if (! Hash::check($input['current_password'], $user->password)) { $validator->errors()->add('current_password', __('passwords.notMatch')); } })->validateWithBag('updatePassword'); $user->forceFill([ 'password' => Hash::make($input['password']), ])->save(); } }