Files
safekat/ci4/app/Models/UserModel.php
2024-05-01 20:33:29 +02:00

22 lines
357 B
PHP

<?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',
];
}
}