diff --git a/plugins/libkolab/lib/kolab_dav_client.php b/plugins/libkolab/lib/kolab_dav_client.php index a89f1547..b8acbdd8 100644 --- a/plugins/libkolab/lib/kolab_dav_client.php +++ b/plugins/libkolab/lib/kolab_dav_client.php @@ -46,8 +46,8 @@ class kolab_dav_client $url = str_replace(rawurlencode($this->user) . ':' . rawurlencode($this->password) . '@', '', $url); } else { - $this->user = $this->rc->user->get_username(); - $this->password = $this->rc->decrypt($_SESSION['password']); + $this->user = $this->rc->get_user_name(); + $this->password = $this->rc->get_user_password(); } $this->url = $url;