Sfoglia il codice sorgente

debug authtoken call

andre 5 anni fa
parent
commit
7577d6880c
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      zimbraSingle.php

+ 2 - 1
zimbraSingle.php

@@ -758,7 +758,8 @@ function zimbraSingle_ServiceSingleSignOn($params) {
         return $domainOptions->getMessage();
     }
     $preAuthKey = $domainOptions['zimbraPreAuthKey'];
-    $authToken = new Zm_Auth($params['serverhostname'], $params['username'], $preAuthKey, 'user');
+    $userAuth = new Zm_Auth($params['serverhostname'], $params['username'], $preAuthKey, 'user');
+    $authToken = $userAuth->login();
     logModuleCall(
         'zimbrasingle',
         __FUNCTION__,