Disable Lost Password

Re: Disable Lost Password

Kim Park -
Atsakymų skaičius: 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. besišypsantis

Atsakymas į Kim Park

Re: Disable Lost Password

Mike Flender -

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

Atsakymas į Mike Flender

Re: Disable Lost Password

Mike Flender -

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.