通过AD FS登录页面登录Office 365时,输入错误密码时会收到此错误消息:用户ID或密码不正确。输入正确的用户ID和密码,然后重试。 Example Image
我想改变它。我已经能够通过编辑onload.js来更改 userNameFormatError 和 passwordEmpty 消息,如下所述:https://technet.microsoft.com/en-us/library/dn636121.aspx但不是错误的密码文本。我使用过FireFox和Chrome的开发工具来监控它的变化无济于事。
答案 0 :(得分:2)
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