Parcourir la source

test getDomainOptions

andre il y a 5 ans
Parent
commit
0cbd43f0ab
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      zimbraSingle.php

+ 2 - 2
zimbraSingle.php

@@ -745,8 +745,8 @@ function zimbraSingle_ServiceSingleSignOn($params) {
         );
         return $login->getMessage();
     }
-    $apiAccountManager = new Zm_Account($api);
-    $accountOptions = $apiAccountManager->getAccountInfo($params['username']);
+    $apiAccountManager = new Zm_Domain($api);
+    $accountOptions = $apiAccountManager->getDomainOptions($params['customfields']['maildomain']);
     if(is_a($accountOptions, 'Exception')) {
         logModuleCall(
             'zimbrasingle',