2017-04-20 135 views
1

Gmail剥离冗长的密码重置链接并导致404页面。这是邮件接收。Drupal的“一次性登录”/“密码重置”链接被截断为纯文本电子邮件

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的,邮件是从后台管理/配置/人/账户配置为

[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

在您的内容格式设置配置增加最大链接长度admin/config/content/formats/plain_text将其设置为以为例。