Forgot and Reset controller changed request methods

This commit is contained in:
Cüneyt Şentürk
2023-04-20 17:49:34 +03:00
parent 2534d28dca
commit 9b58482613
4 changed files with 73 additions and 8 deletions

View File

@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests\Auth;
use Illuminate\Foundation\Http\FormRequest;
class Forgot 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 [
'email' => 'required|email',
];
}
}