This object is in archive! 

Forgot Password Link

Archived Graham M. 10 years ago

How do I remove the forgot password link from the standard login form (I am using LDAP and don't want users to be confused) and add it to the LDAP login form, but redirect to an external URL?


We have Active Directory Self Service installed in our domain and want to point users to that service if they have forgotten their passwords.

Replies (3)

photo
1

Graham,

The most safety way to remove "Forgot Password" link is:

  1. Open /public/assets/js/global.js
  2. Find line:
    1. App.openLoginPopup = function(params) {

  3. Inside this method find expression:
    1. return false;

  4. Before expression add the following code:
    1. $('a.forgotPass').remove();

  5. Save the file and use Ctrl+F5 to reload browser cache.

If you want to restore link next time - simply remove this line and save the file.

Thats all.

photo
1

Great, that worked :)


Now how do I add the forgot password link to the SSO form and point to external URL?

photo
1

Graham,

This should be done within LoginPlus module. You need to look for the template that includes LDAP Form and add it there.

Replies have been locked on this page!