芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/kwesioben.com/paymoney/app/Http/Requests/UpdatePasswordRequest.php
* @contributor Md Abdur Rahaman <[abdur.techvill@gmail.com]> * @created 05-12-2022 */ namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdatePasswordRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'old_password' => 'required', 'password' => 'required', ]; } /** * Get custom attributes for validator errors. * * @return array */ public function attributes() { return [ 'old_password' => __('Old Password'), 'password' => __('Password'), ]; } }