Not found I define desactivate method in CodeIgniter\Shield\Models\UserModel #754
Unanswered
oniricosistemas
asked this question in
Q&A
Replies: 1 comment
-
If you want to deactivate a user, call If you defined |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PHP Version
8.2.4
CodeIgniter4 Version
4.3.3
Shield Version
1.0.0-beta
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
10.4.28-MariaDB
Did you customize Shield?
no
What happened?
Not found I define desactivate method in CodeIgniter\Shield\Models\UserModel
Steps to Reproduce
$users = auth()->getProvider();
$user = $users->findById($id);
$users->desactivate($user);
Expected Output
Call to undefined method CodeIgniter\Shield\Models\UserModel::desactivate
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions