How to disable "Forgotten your username or password" link

How to disable "Forgotten your username or password" link

by QLD BNE -
Number of replies: 5

Since we are using LDAP authentication we don;t need "Forgotten your username or password?" link in the login form. How can I do that?

Average of ratings: -
In reply to QLD BNE

Re: How to disable "Forgotten your username or password" link

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
In settings you can set the "forgotten password URL". Send them to the equivalent page for your LDAP lost password recover / help desk etc.
Average of ratings: Useful (1)
In reply to Howard Miller

Re: How to disable "Forgotten your username or password" link

by QLD BNE -
Thanks I noticed that setting but it doesn't suit my needs.
In reply to QLD BNE

Re: How to disable "Forgotten your username or password" link

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
So, what do your students do if they forget their username or password? wink
In reply to Howard Miller

Re: How to disable "Forgotten your username or password" link

by QLD BNE -
We have Active Directory and they know how to reset the passwords.
In reply to QLD BNE

How to disable "Forgotten your username or password" link

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers
/* Removes the Forgot Password link due to Fishing Attempts */
.loginbox .forgetpass {display: none;}

But has Howards recommended, changing the link to a specific page may be helpful. We used to hide the forgot password box since we also set our user passwords and controlled them elsewhere. However, for users who were suspended from the site, or had their authentication changed to 'nologin' the ability to redirect them to an info page was helpful so they could see the reasons why their password may not need change but instead is intentionally not working
Average of ratings: Useful (1)