404labfr / 404labfr/laravel-auth-checker

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

未关闭
#31 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
222
派生
36
PR 合并指标
30 天内没有已合并 PR

描述

lab404/laravel-auth-checker v2.0

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

领域
authentication, backend
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。