lib/hosted
    Torsten Grote 
    grote at kolabsys.com
       
    Wed Jul 25 17:12:51 CEST 2012
    
    
  
 lib/hosted/kolab_client_task_signup.php |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 21aee41286b5080ecdceb6749de1c313146d9f08
Author: Torsten Grote <grote at kolabsys.com>
Date:   Wed Jul 25 17:05:20 2012 +0200
    use special primary domain for hosted API login
diff --git a/lib/hosted/kolab_client_task_signup.php b/lib/hosted/kolab_client_task_signup.php
index 984ea58..4c1aaa2 100644
--- a/lib/hosted/kolab_client_task_signup.php
+++ b/lib/hosted/kolab_client_task_signup.php
@@ -56,8 +56,7 @@ class kolab_client_task_signup extends kolab_client_task
         // One API session token for a single run/hit of/against hosted/index.php
         if (empty($_SESSION['user']) || empty($_SESSION['user']['token']) || ($timeout && $_SESSION['time'] && $_SESSION['time'] < time() - $timeout)) {
             // Login ($result is a kolab_client_api_result instance))
-            // TODO log in with different primary domain
-            $result = $this->api->login($this->config_get('bind_dn'), $this->config_get('bind_pw'), $this->config->get('kolab', 'primary_domain') );
+            $result = $this->api->login($this->config_get('bind_dn'), $this->config_get('bind_pw'), $this->config_get('primary_domain') );
 
             // Set the session token we got in the API client instance, so subsequent
             // API calls are made in the same session.
    
    
More information about the commits
mailing list