This commit is contained in:
sebastian 2005-07-30 21:25:02 +00:00
parent be5acaa6db
commit 60cbc98a58

View file

@ -146,13 +146,12 @@ class uiSubjects
$this->Base->redirUrl = $_SERVER['HTTP_REFERER']; $this->Base->redirUrl = $_SERVER['HTTP_REFERER'];
return FALSE; return FALSE;
} }
if (UI_VERBOSE) if (PEAR::isError($ret = $this->Base->gb->passwd($request['login'], $request['oldpass'], $request['pass'], $this->Base->sessid))) {
$this->Base->_retMsg('Password changed.');
if (PEAR::isError($ret = $this->Base->gb->passwd($request['login'], $request['oldpass'], $request['pass']))) {
$this->Base->_retMsg($ret->getMessage()); $this->Base->_retMsg($ret->getMessage());
return FALSE; return FALSE;
} }
if (UI_VERBOSE)
$this->Base->_retMsg('Password changed.');
return TRUE; return TRUE;
} }