If you are strugglling to disable/remove the "Forgot Username?" or "Forgot Password?" links from Joomla CMS, there are two steps to do that.
First, you have disable it on module section, and second from the component section.
1. First, create the mod_login/ folder inside your templates/your_template/html/ folder. Then copy the default.php file from
modules/mod_login/tmpl/default.php
to
templates/your_template/html/mod_login/
then, open the copied file (default.php) from above html/mod_login and comment the following lines as below;
2. First, create the com_users/login/ folders inside your templates/your_template/html/ folder. Then copy the default.php file from
com_users/views/login/tmpl/default_login.php
to
templates/your_template/html/com_users/login/
then, open the copied file (default.php) from above html/mod_login and comment the following lines as below;
First, you have disable it on module section, and second from the component section.
1. First, create the mod_login/ folder inside your templates/your_template/html/ folder. Then copy the default.php file from
modules/mod_login/tmpl/default.php
to
templates/your_template/html/mod_login/
then, open the copied file (default.php) from above html/mod_login and comment the following lines as below;
// echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME'); // echo JRoute::_('index.php?option=com_users&view=reset&Itemid=' . UsersHelperRoute::getResetRoute());
2. First, create the com_users/login/ folders inside your templates/your_template/html/ folder. Then copy the default.php file from
com_users/views/login/tmpl/default_login.php
to
templates/your_template/html/com_users/login/
then, open the copied file (default.php) from above html/mod_login and comment the following lines as below;
// echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME'); // echo JRoute::_('index.php?option=com_users&view=reset&Itemid=' . UsersHelperRoute::getResetRoute());