dever 3 years ago
parent
commit
de9a49340c
2 changed files with 2 additions and 2 deletions
  1. 2 1
      service/agent/lib/Email.php
  2. 0 1
      service/agent/src/My.php

+ 2 - 1
service/agent/lib/Email.php

@@ -9,7 +9,8 @@ class Email
 	# 修改邮箱
     public function act_api()
     {
-        $signature = Dever::input('signature');
+        //$signature = Dever::input('signature');
+        $signature = $_GET['signature']
         if (!$signature) {
             Dever::alert('您的验证信息已失效,请重新发送验证邮件');
         }

+ 0 - 1
service/agent/src/My.php

@@ -671,7 +671,6 @@ class My extends Core
 
             $email = base64_encode($email);
             Dever::daemon('lib/email.renzheng?mid='.$this->uid.'&email=' . $email . '&code=' . $code . '&username=' . $this->user['name'], 'agent');
-            //Dever::daemon('lib/email.renzheng?mid='.$this->uid.'&email=' . $email . '&code=' . $code . '&username=' . $this->user['name'], 'agent');
 
             return '邮件已经发送成功!请到您的邮箱里查看。';
         } else {