|
|
@@ -1567,14 +1567,15 @@ class login {
|
|
|
and create_time >= current_date - INTERVAL '7 days' limit 1");
|
|
|
|
|
|
if(!empty($AES_encrypted) && !empty($secret_key)){
|
|
|
- //使用后,移除之前数据库里安全密
|
|
|
- common::excuteUpdateSql("delete from customer_service_secret_key where secret_key = '$verifcation_code'");
|
|
|
//提交的时候再次验证通过,进行修改密码
|
|
|
$loginName = $AES_encrypted;
|
|
|
$password = $_REQUEST['password'];
|
|
|
|
|
|
$msg = $this->updateExpirePassword($loginName, $password);
|
|
|
if($msg == "success"){
|
|
|
+ //使用后,移除之前数据库里安全密
|
|
|
+ common::excuteUpdateSql("delete from customer_service_secret_key where secret_key = '$verifcation_code'");
|
|
|
+
|
|
|
$data = array(
|
|
|
'msg' => "success",
|
|
|
'data' => ''
|