From 60d87a616d34e96226351c820d6f6e648e5af9f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Fri, 23 Apr 2010 14:13:51 +0000 Subject: [PATCH] Fix lost password issue (#2552) --- phpgwapi/inc/horde/Horde/SyncML/State_egw.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/inc/horde/Horde/SyncML/State_egw.php b/phpgwapi/inc/horde/Horde/SyncML/State_egw.php index a3daf0aa12..6aac0498b1 100644 --- a/phpgwapi/inc/horde/Horde/SyncML/State_egw.php +++ b/phpgwapi/inc/horde/Horde/SyncML/State_egw.php @@ -397,6 +397,10 @@ class EGW_SyncML_State extends Horde_SyncML_State . ') could not be not verified' , __FILE__, __LINE__, PEAR_LOG_ERROR); } + if (empty($GLOBALS['egw_info']['user']['passwd'])) + { + $GLOBALS['egw_info']['user']['passwd'] = $this->_password; + } } return ($this->_isAuthorized > 0); }