- Issue created by @chandrahasd
- 🇮🇳India chandrahasd
Here is the patch to do the same where old passwords can be restricted from accessing.
- 🇮🇳India SandeepSingh199
Hi @chandrahasd, Please mark this ticket to Needs Review.
By the way I reviewed your changes & its working fine in local.Steps to Verify :-
1. Get clone of composer require 'drupal/change_pwd_page:2.x-dev@dev'.
2. Enable the module drush en change_pwd_page.
3. Move to module/contrib/change_pwd_page.
4. Download the patch wget https://www.drupal.org/files/issues/2023-10-11/3393256_restrict_old_patc... →
5. apply the patch git apply -v 3393256_restrict_old_patch_1.patch
6. Clear cache drush cr
7. Run drush uli command to generate admin url.
8. After first time change password, clear cache and re-visit that same url. It will show You have tried to use a one-time login link that has either been used or is no longer valid. Please request a new one using the form below..Requesting maintainers to please validate & move this ticket to RTBC+1.
- Status changed to Needs review
9 months ago 10:46am 19 March 2024 - 🇮🇳India chandrahasd
Thanks for checking this Sandeep. I have updated the status.