更改错误文本"Incorrect user ID or password."



通过 AD FS 登录页面登录到 Office 365 时,输入不正确的密码时收到此错误文本:用户 ID 或密码不正确。键入正确的用户标识和密码,然后重试。示例图像

我想改变它。我已经能够通过编辑加载来更改用户名格式错误密码空消息.js如下所述:https://technet.microsoft.com/en-us/library/dn636121.aspx 但不是不正确的密码文本。我使用FireFox和Chrome的开发工具来监控它是如何变化的,但无济于事。

var labelAuthfailed = document.getElementById("errorText") ;
if ( labelAuthfailed && labelAuthfailed.innerHTML == "Incorrect user ID or password. Type the correct user ID and password, and try again.") {
    labelAuthfailed.innerHTML = "Booh! Fat fingers!" ;
}

https://social.technet.microsoft.com/Forums/windowsserver/en-US/dd86453b-eaf4-49d3-9c8c-ba74db2ddff5

最新更新