From 64b8873ba16f7823947eacd65a43a94f57e59100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Fri, 23 Apr 2010 14:15:28 +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 0db1432266..1297b53491 100644 --- a/phpgwapi/inc/horde/Horde/SyncML/State_egw.php +++ b/phpgwapi/inc/horde/Horde/SyncML/State_egw.php @@ -433,6 +433,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); }