- set password backend

This commit is contained in:
Peter Papp
2021-03-23 15:32:28 +01:00
parent 9566a4a830
commit 75042e0c42
11 changed files with 159 additions and 52 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',
];
}
}