From e21f48d3badc3017b937699a9577f94a02ac1d2e Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 8 Dec 2023 14:52:02 +0100 Subject: [PATCH] Small improvement in DAV client --- plugins/libkolab/lib/kolab_dav_client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;