Needs work
Project:
Mass Password Reset
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2012 at 04:50 UTC
Updated:
7 May 2021 at 01:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
steven jones commentedHere's a Drush command that adds the password reset functionality.
Comment #2
charles belov@Steven Jones: In the patch on #1, is the change to mass_pwreset.module necessary in order for the Drush command to work, or is it something separate that you noticed?
Comment #3
steven jones commentedWell, it's a little enhancement so that you can reset the passwords for all roles, not just a specific set of roles.
Comment #4
charles belovAh, but wouldn't all roles be the same as resetting the password for everyone?
Comment #5
steven jones commentedSorry, what I mean is it allows resetting the password for users, and not filtering by role, i.e. doing it for everyone.
Comment #6
charles belovUnless its absence prevents your Drush change from working, perhaps it is a separate issue requiring a separate patch.
That is, if the module maintainer wants to implement your Drush improvement but not the change to the base module, that would block your patch from being used.
I ask because I tried your patch and while the Drush side worked, the admin pages version didn't. I plan to test the current dev version without your patch to see if it works on my website, to see whether the failure to work a side effect of your patch, but haven't had a chance to do so yet.
Comment #7
charles belovVerified that the fail happens without your patch, and will file an issue for that. That said, I wouldn't be comfortable using this patch when I can't verify that it does no harm to the admin UI, something that I could do if the only thing the patch did was to add the drush file.
Comment #8
damienmckennaThis should leverage the existing logic, possibly refactoring it, rather than duplicating the code.
Comment #9
colanThis should go into D8+ first.