How to disable "Forgotten your username or password" link

How to disable "Forgotten your username or password" link

by John Provasnik -
Number of replies: 0
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)