Change errorText "Incorrect user ID or password."

when logging into office 365 through ad fs sign-in page, i get this error text when inputting an incorrect password: incorrect user id or password. type the correct user id and password, and try again.

i would like to change it. i've been able to change usernameformaterror and passwordempty messages by editing the onload.js as explained here: https://technet.microsoft.com/en-us/library/dn636121.aspx but not the incorrect password text. i've used firefox and chrome's dev tools to monitor how it changes to no avail.

Answer
Answer
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!" ;
}

social.technet.microsoft.com/.../dd86453b-eaf4-49d3-9c8c-ba74db2ddff5

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated September 30, 2021 Views 642 Applies to: