Przeglądaj źródła

add authtoken call

andre 5 lat temu
rodzic
commit
feb69f3fed
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      zimbraSingle.php

+ 7 - 0
zimbraSingle.php

@@ -760,6 +760,13 @@ function zimbraSingle_ServiceSingleSignOn($params) {
     $preAuthKey = $domainOptions['zimbraPreAuthKey'];
     $apiAccountManager= new Zm_Account($api);
     $authToken = $apiAccountManager->getAccountToken($params['username'], $preAuthKey, '1000');
+    logModuleCall(
+        'zimbrasingle',
+        __FUNCTION__,
+        $params,
+        'Debug',
+        $authToken
+    );
     return array(
         'success' => true,
         'redirectTo' => 'https://testserver.test.local/' . $authToken,