2022-01-10 16:58:25 +01:00
|
|
|
<?php
|
|
|
|
|
|
2022-03-15 16:27:41 +01:00
|
|
|
namespace App\Http\Requests\Fo;
|
2022-01-10 16:58:25 +01:00
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
|
|
2022-03-15 16:27:41 +01:00
|
|
|
class UpdatePasswordRequest extends FormRequest
|
2022-01-10 16:58:25 +01:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Determine if the user is authorized to make this request.
|
|
|
|
|
*
|
|
|
|
|
* @return boolean
|
|
|
|
|
*/
|
|
|
|
|
public function authorize()
|
|
|
|
|
{
|
2022-03-15 16:27:41 +01:00
|
|
|
return true;
|
2022-01-10 16:58:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the validation rules that apply to the request.
|
|
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function rules()
|
|
|
|
|
{
|
|
|
|
|
return [
|
2022-03-15 16:27:41 +01:00
|
|
|
'password' => 'required|min:8|confirmed'
|
2022-01-10 16:58:25 +01:00
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|