Closed (works as designed)
Project:
User protect
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2008 at 14:57 UTC
Updated:
7 Oct 2009 at 21:44 UTC
A user can still bypass the protection @ password changes by requesting a new password from the forgotten password page of standard Drupal.
Any chance to add a hook there whether the user is allowed to change the password?
Thanks.
Comments
Comment #1
doerings_net commented[EDIT] title changed for clarification due to field length restriction
Comment #2
hunmonk commentedare you referring to the protection activated by disabling the 'change own password' user permission?
Comment #3
chirale commentedMaybe No request new password should be useful to port this option on User Protect.
Comment #4
hunmonk commentedi'm happy to review a patch that closes this discrepency, so somebody please offer one up ;)
Comment #5
hunmonk commentedi looked into this further. the 'Request new password' feature in core does *not* provide the user with a new password, but merely a one-time login link they can use to login and change their own password.
as such, userprotect needs no change that i can see, because when the user uses the one-time login, they get sent to their edit page, where they are still unable to change their password if it's protected.
and, at least they have some half-assed way to login until they can get their password changed by an admin... ;)