'required|string|date_format:Y-m-d|before:-13 years', ]; } public function authorize(): bool { if (is_null(Auth::user()->dob)) { return true; } return false; } }