Categories

Featured templates

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

Stacy Martin January 29, 2016
Rating: 5.0/5. From 2 votes.
Please wait...

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

Joomla Responsive Templates
This entry was posted in Joomla! Tutorials and tagged delete, joomla, link, password, reset. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket