首页 文章

Drupal“一次性登录”/“密码重置”链接在纯文本电子邮件中被截断

提问于
浏览
1

Gmail会删除冗长的密码重置链接并导致404页面 . 这是邮件接收 .

Data Team,

   A request to reset the password for your account has been made at Test site

  You may now log in by clicking this link or copying and pasting it to your 
  browser:

  https://www.testsite.com.au/user/reset/22712/14926662...
  [1]

  This link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.

  --  Testsite Australia team


  [1]   https://www.testsite.com.au/user/reset/22712/1492666251/YEBUB5BS_d6dTPkMHGoV4U3FYxwqtt0xsreHjp1FUCI

我使用的是drupal 7,邮件是从后端admin / config / people / accounts配置的

[user:name],

A request to reset the password for your account has been made at 
[site:name].

You may now log in by clicking this link or copying and pasting it to your 
browser:

[user:one-time-login-url]

This link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.

--  [site:name] team

有人请给我一个解决方案

谢谢

1 回答

  • 1

    在您的内容格式设置配置中,增加最大链接长度 admin/config/content/formats/plain_text 将其设置为 999 作为示例 .

相关问题