404labfr / 404labfr/laravel-auth-checker
Add fillable property [device_id] to allow mass assignment Lab404\AuthChecker\Models\Login
Open
- Dominant language
- PHP
- Stars
- 222
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
lab404/laravel-auth-checker v2.0
Use this line in AppServiceProvider
`
Model::shouldBeStrict(!$this->app->isProduction());
`
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100