Sfoglia il codice sorgente

suspendAccount - get userlist

andre 2 anni fa
parent
commit
81f408a86d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Actions/SuspendAccount.php

+ 1 - 1
app/Http/Actions/SuspendAccount.php

@@ -70,7 +70,7 @@ class SuspendAccount extends AddonController
             return "Error: Domain $domain not found";
         }
         try {
-            $users = $api->getUsers(['id'], $domainID);
+            $users = $api->getUsers(['id', 'name'], $domainID);
         } catch (KerioApiException $error) {
             logModuleCall(
                 'kerioEmail',