2017-04-20 62 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將其設置爲以爲例。

相關問題