404labfr / 404labfr/laravel-auth-checker

Add fillable property [device_id] to allow mass assignment Lab404\AuthChecker\Models\Login

Đang mở
#31 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
222
Fork
36
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

lab404/laravel-auth-checker v2.0

Use this line in AppServiceProvider
`
Model::shouldBeStrict(!$this->app->isProduction());
`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Find the Login model in the package (likely in src/Models/Login.php). Add 'device_id' to the $fillable array property. Check if there are any tests for mass assignment or model creation to verify the change works. The issue mentions using Model::shouldBeStrict in production, so ensure the change aligns with Laravel's mass assignment safety.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
authentication, backend
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.