[6.2] [AI] Add configuration options for mod_login#47946
Conversation
|
it works but I think this is the wrong place. it is only removing the cosmetic link in the module not the functionality and personally if I want to prevent password reset etc then it should be an option in the component the same as the option for creating accounts is managed in the component options but displayed in the module |
|
I have tested this item ✅ successfully on 4b35cdd This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47946. |
The usecase as i found out is to have the links still working but use them in another place |
|
Then this module satisfies the usecase |
|
I have tested this item ✅ successfully on 20ae55d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47946. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47946. |
|
I have tested this item ✅ successfully on 20ae55d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47946. |
This is a frequently requested feature from the community, which until now required a layout override of default.php just to remove these links.
Summary of Changes
Adds two new parameters to the Login module (mod_login) so administrators can optionally hide the "Forgot your password?" and "Forgot your username?" links without needing a template override:
Both options default to Show, so existing sites and module instances are completely unaffected. The links only disappear when an admin explicitly switches them off.
Testing Instructions
Actual result BEFORE applying this Pull Request
The "Forgot your password?" and "Forgot your username?" links are always displayed in the Login module. The only way to remove them is a template/layout override.
Expected result AFTER applying this Pull Request
Each link can be shown or hidden independentmeters. Default behaviour (both shown) isunchanged.
Link to documentations
Please select: