update email

This commit is contained in:
life
2014-05-27 11:37:03 +08:00
parent 8eab8c7310
commit b1b36cec23
3 changed files with 4 additions and 4 deletions

View File

@ -212,7 +212,7 @@ func (this *UserService) UpdateEmailSendActiveEmail(userId, email string) (ok bo
body := "邮箱验证后您的登录邮箱为: <b>" + email + "</b><br />"; body := "邮箱验证后您的登录邮箱为: <b>" + email + "</b><br />";
body += fmt.Sprintf("请点击链接验证邮箱: <a href='%v'>%v</a>. %v小时后过期.", url, url, tokenService.GetOverHours(info.TokenUpdateEmail)); body += fmt.Sprintf("请点击链接验证邮箱: <a href='%v'>%v</a>. %v小时后过期.", url, url, tokenService.GetOverHours(info.TokenUpdateEmail));
if !SendEmail(email, "leanote-验证邮箱", "验证邮箱", body) { if !SendEmail(email, "leanote-验证邮箱", "验证邮箱", body) {
msg = "发送失败" msg = "发送失败, 该邮箱存在?"
return return
} }
ok = true ok = true

View File

@ -834,7 +834,7 @@ function log(o) {
<tr> <tr>
<td> <td>
<button id="pwdBtn" class="btn btn-success" style="width: 100%">{{msg . "submit"}}</button> <button id="pwdBtn" class="btn btn-success">{{msg . "submit"}}</button>
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -834,7 +834,7 @@ function log(o) {
<tr> <tr>
<td> <td>
<button id="pwdBtn" class="btn btn-success" style="width: 100%">{{msg . "submit"}}</button> <button id="pwdBtn" class="btn btn-success">{{msg . "submit"}}</button>
</td> </td>
</tr> </tr>
</table> </table>