git add .

git commit "add user authentication"
This commit is contained in:
2026-08-16 10:26:08 +03:30
parent 687681744a
commit e3549b4749
19 changed files with 460 additions and 74 deletions
+37
View File
@@ -0,0 +1,37 @@
<?php
namespace App\Http\Requests;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class LoginPostRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
'mobile'=>[
'required',
'string',
'ir_mobile'
],
'password'=>[
'required',
'string'
]
];
}
}