- removed client passport validation

- added UpdateUserPasswordRequest.php
This commit is contained in:
Peter Papp
2021-03-23 15:32:28 +01:00
parent c6b3995cc3
commit 6f7b34dd0a
3 changed files with 32 additions and 17 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests\User;
use Illuminate\Foundation\Http\FormRequest;
class UpdateUserPasswordRequest 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 [
'password' => 'required|string|min:6|confirmed',
];
}
}