관리-도구
편집 파일: LoginRequest.php
<?php namespace Modules\LMS\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class LoginRequest extends FormRequest { /** * Get the validation rules that apply to the request. */ public function rules(): array { return [ // 'email' => 'required', 'password' => 'required', ]; } /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return true; } }