Actualizando entre versiones de CI4 (upgrade

This commit is contained in:
imnavajas
2024-05-01 20:33:29 +02:00
parent 3a4bd1022c
commit 0c4888f9b3
16 changed files with 78 additions and 64 deletions

View File

@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace App\Models;
use CodeIgniter\Shield\Models\UserModel as ShieldUserModel;
class UserModel extends ShieldUserModel
{
protected function initialize(): void
{
parent::initialize();
$this->allowedFields = [
...$this->allowedFields,
// 'first_name',
];
}
}