Disable Lost Password

Re: Disable Lost Password

Kim Park írta időpontban
Válaszok szám: 2

I ended up using JD Hall's tip from 2007 and edited both \login\index_form.html & login\block\login.php to comment out statements so we would not see "Lost Password?" on any of our login pages since we LDAP Authenticate.  Would be nice if it were an option to hide, but this works and it'll mitigate a LOT of emails that would head my way. mosoly

Válasz erre: Kim Park

Re: Disable Lost Password

Mike Flender írta időpontban

For Moodle 2.8.9 I edited /moodle/login/index_form.html to remove the Forgotton password link on login page by changing


<div class="forgetpass"><a href="forgot_password.php"><?php print_string("forgotten") ?></a></div>

 </form>


To look like


<!-- <div class="forgetpass"><a href="forgot_password.php"><?php print_string("forgotten") ?></a></div></form>-->

I hope this helps someone else.

Mike Flender

Válasz erre: Mike Flender

Re: Disable Lost Password

Mike Flender írta időpontban

In the "To look like" code above my return was removed. 

<--<div class="forgetpass"><a href="forgot_password.php"><?php print_string("forgotten") ?></a></div>

 </form>-->

Sorry for any confusion.