If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

Joomla 3.x. How to delete “password reset” link

Joomla 3.x. How to delete “password reset” link

This tutorial shows how to get rid of username and password reset links in Joomla 3.x.

Joomla 3.x. How to delete password reset link completely-1

In case you would like to delete account reset link from display and availability for search engines, please perform the steps below:

  1. Log into Joomla admin panel and navigate to the Extensions – Template manager – Templates – ThemeXXXX tab. Click Create Overrides – Components – com_users – login:

    Joomla 3.x. How to delete password reset link completely-2

  2. In case override already exists in your theme, go straight to editing files. Open the html/com_users/login/default_login.php file for editing.

  3. Find and delete lines 87-88 in order to get rid of the reset password links:

    <li><a href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>"><?php echo JText::_('COM_USERS_LOGIN_RESET'); ?></a></li>
        <li><a href="<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>"><?php echo JText::_('COM_USERS_LOGIN_REMIND'); ?></a></li>
  4. Save changes in the file.

  5. Next, navigate to Create overrides/Modules/mod_login to create the login module override. In case override already exists in your theme, go straight to editing theme files.

  6. Open the html/mod_login/default.php file in the Editor tab, find and delete lines 97-98:

    <li><a href="<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>" class="" title="<?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME'); ?>"><?php echo JText::_('TPL_REMIND'); ?></a></li>
      <li><a href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>" class="" title="<?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_PASSWORD'); ?>"><?php echo JText::_('TPL_RESET'); ?></a></li>
  7. Save changes in the html/mod_login/default.php file and check changes on the front-end. Now username and password reset links are removed:

    Joomla 3.x. How to delete password reset link completely-3

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to delete “password reset” link