yulingwei 4 years ago
parent 4058eb3963
commit 2680f92079

@ -54,12 +54,10 @@ class SafeController extends BaseController{
$this->checkPaswwordFormat($confirmpassword);
$data['second_pwd'] = $this->think_ucenter_md5($confirmpassword, UC_AUTH_KEY);
$id = get_pid();
$updateRs = M("promote","tab_")->where(['id'=>$id])->save($data);
if($updateRs) {
M("promote","tab_")->where(['id'=>$id])->save($data);
recordPromoteLogs('安全管理','设置安全密码');
$this->success("安全密码设置成功");
}
}
public function think_ucenter_md5($str, $key = 'ThinkUCenter')
{

Loading…
Cancel
Save