ldc-gen-game-web/app/Http/Requests/Fo/UpdatePasswordRequest.php
2022-03-16 10:47:17 +01:00

30 lines
538 B
PHP

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