Showing results for 
Show  only  | Search instead for 
Did you mean: 
Community Member

Forgot Password Link on login page

Does anyone have a java script that they would be willing to share to change the wording for the "Forgot Password?" link on the login for Canvas. Our CSM said we could change it that way. We want to change so that our teachers and students quit clicking on it and expecting an email to reset their password since we use ldap.

0 Kudos
1 Reply
Community Champion

Hi Chad,

I know of two options. The first one you can choose to remove the link from the screen all together as referenced in the discussion below.

Secondly you can choose to change the link for the forgot password‌ link to something of your choosing.  #javascript‌ below  is what we use to make this happen. 

$(document).ready(function () {
if(document.URL.split('/')[3] === 'login'){
document.getElementsByClassName('ic-Login__forgot')[0].style.visibility = 'hidden';
var ResetPasswordURL = '<a href="YourURLHere">Forgot Password?</a>';
$("#footer").prepend("<div style='font-color:#fff;margin-right:20px font-weight:bolder'>" + ResetPasswordURL + "</div>");

Hope this helps.