Add the "secure" parameter expected by the Imap_Client library.
authorGunnar Wrobel <p@rdus.de>
Thu, 11 Mar 2010 18:45:15 +0000 (19:45 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Thu, 11 Mar 2010 21:35:01 +0000 (22:35 +0100)
Should be made configurable later.

framework/Kolab_Session/lib/Horde/Kolab/Session/Base.php

index c657108..43e377e 100644 (file)
@@ -373,7 +373,8 @@ class Horde_Kolab_Session_Base implements Horde_Kolab_Session_Interface
                 //@todo: Use Session_Auth
                 array('hostspec' => $this->getImapServer(),
                       'username' => Horde_Auth::getAuth(),
-                      'password' => Horde_Auth::getCredential('password'))
+                      'password' => Horde_Auth::getCredential('password'),
+                      'secure'   => true)
             );
         }
         return $this->_storage;