Shield remove deleted at to user |
i i try to remove deleted at symply by :
Code: $data_to_update = [ But i receive There is no data to update, i control $id it'ok
03-20-2025, 11:32 PM
(This post was last modified: 03-23-2025, 11:26 PM by InsiteFX. Edit Reason: Fixed spelling error )
Did you try using set?
PHP Code: // this also depends on $allowedFields What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
In your custom model, add the field as follows:
PHP Code: <?php Then, register the new model in the Auth.php file: PHP Code: -use CodeIgniter\Shield\Models\UserModel; Finally, use it like this: PHP Code: auth()->getProvider()->update($id, [ |
Welcome Guest, Not a member yet? Register Sign In |