404labfr / 404labfr/laravel-auth-checker
Add fillable property [device_id] to allow mass assignment Lab404\AuthChecker\Models\Login
Abierto
- Lenguaje dominante
- PHP
- Estrellas
- 222
- Forks
- 36
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
lab404/laravel-auth-checker v2.0
Use this line in AppServiceProvider
`
Model::shouldBeStrict(!$this->app->isProduction());
`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- authentication, backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100