chg: [command:keycloakSync] Make sure User model is loaded
parent
f2db6b3b5e
commit
80277e4bdf
|
@ -13,6 +13,7 @@ class KeycloakSyncCommand extends Command
|
|||
public function execute(Arguments $args, ConsoleIo $io)
|
||||
{
|
||||
if (!empty(Configure::read('keycloak'))) {
|
||||
$this->loadModel('Users');
|
||||
$results = $this->fetchTable()->syncWithKeycloak();
|
||||
$tableData = [
|
||||
['Changes to', 'Count']
|
||||
|
|
Loading…
Reference in New Issue