Merge branch 'sprint/224_liumengyi_26325' into 'master'
* Fix bug #26325. See merge request easycorp/zentaopms!4945
This commit is contained in:
@@ -100,7 +100,7 @@ class executionModel extends model
|
||||
include $this->app->getModulePath('', 'execution') . 'lang/' . $this->app->getClientLang() . '.php';
|
||||
}
|
||||
|
||||
if(isset($execution->cal) and $execution->acl != 'private') unset($this->lang->execution->menu->settings['subMenu']->whitelist);
|
||||
if(isset($execution->acl) and $execution->acl != 'private') unset($this->lang->execution->menu->settings['subMenu']->whitelist);
|
||||
|
||||
if($execution and $execution->lifetime == 'ops')
|
||||
{
|
||||
|
||||
@@ -796,6 +796,7 @@ class userModel extends model
|
||||
}
|
||||
|
||||
$this->dao->update(TABLE_USER)->data($user)->autoCheck()->where('id')->eq((int)$userID)->exec();
|
||||
$_SESSION['user']->password = $user->password;
|
||||
$this->app->user->password = $user->password;
|
||||
$this->app->user->modifyPassword = false;
|
||||
if(!dao::isError())
|
||||
|
||||
Reference in New Issue
Block a user