| 123456789101112131415161718192021 |
- <?php
- namespace App\Http\Requests;
- use Illuminate\Foundation\Http\FormRequest;
- class ForgotPasswordRequest extends FormRequest
- {
- public function authorize(): bool
- {
- return true;
- }
- public function rules(): array
- {
- return [
- 'email' => ['required', 'string', 'email'],
- 'portal' => ['nullable', 'string', 'in:franchisor,franchisee'],
- ];
- }
- }
|