User tests: Successful: Unsuccessful:
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:
| Status | New | ⇒ | Pending |
| Category | ⇒ | Language & Strings Modules Front End |
| Labels |
Added:
Language Change
PR-6.2-dev
|
||
I have tested this item ✅ successfully on 4b35cdd
Tested with JBT, 'Reset Password Link' and 'Forgot Username Link' can be seperatly hidden, default is still shown
I have tested this item ✅ successfully on 4b35cdd
Tested with JBT, 'Reset Password Link' and 'Forgot Username Link' can be seperatly hidden, default is still shown
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
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
I have tested this item ✅ successfully on 20ae55d
| Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
I have tested this item ✅ successfully on 20ae55d
I have tested this item ✅ successfully on 20ae55d
| Labels |
Added:
RTC
|
||
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