mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix bug after name change of the change-password classed.
This commit is contained in:
parent
46e44572df
commit
e726d3f7ae
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
class bochangepassword
|
class bopassword
|
||||||
{
|
{
|
||||||
var $public_functions = array(
|
var $public_functions = array(
|
||||||
'changepass' => True
|
'changepass' => True
|
||||||
|
@ -18,9 +18,10 @@
|
|||||||
'change' => True
|
'change' => True
|
||||||
);
|
);
|
||||||
|
|
||||||
function uichangepassword()
|
function uipassword()
|
||||||
{
|
{
|
||||||
$this->bo = CreateObject('preferences.bopassword');
|
$this->bo = CreateObject('preferences.bopassword');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function change()
|
function change()
|
||||||
@ -31,7 +32,7 @@
|
|||||||
|
|
||||||
if(!$GLOBALS['egw']->acl->check('changepassword', 1) || $_POST['cancel'])
|
if(!$GLOBALS['egw']->acl->check('changepassword', 1) || $_POST['cancel'])
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->redirect_link('/preferences/index.php');
|
$GLOBALS['egw']->redirect_link('/preferences/index.php');
|
||||||
$GLOBALS['egw']->common->phpgw_exit();
|
$GLOBALS['egw']->common->phpgw_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,7 +44,7 @@
|
|||||||
$GLOBALS['egw']->template->set_var('lang_enter_old_password',lang('Enter your old password'));
|
$GLOBALS['egw']->template->set_var('lang_enter_old_password',lang('Enter your old password'));
|
||||||
$GLOBALS['egw']->template->set_var('lang_change',lang('Change'));
|
$GLOBALS['egw']->template->set_var('lang_change',lang('Change'));
|
||||||
$GLOBALS['egw']->template->set_var('lang_cancel',lang('Cancel'));
|
$GLOBALS['egw']->template->set_var('lang_cancel',lang('Cancel'));
|
||||||
$GLOBALS['egw']->template->set_var('form_action',$GLOBALS['egw']->link('/index.php','menuaction=preferences.uichangepassword.change'));
|
$GLOBALS['egw']->template->set_var('form_action',$GLOBALS['egw']->link('/index.php','menuaction=preferences.uipassword.change'));
|
||||||
|
|
||||||
if($GLOBALS['egw_info']['server']['auth_type'] != 'ldap')
|
if($GLOBALS['egw_info']['server']['auth_type'] != 'ldap')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user