Merge branch 'sprint/224_liumengyi_26325' into 'master'

* Fix bug #26325.

See merge request easycorp/zentaopms!4945
This commit is contained in:
王怡栋
2022-08-12 06:28:45 +00:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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')
{
+1
View File
@@ -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())