Include restriction to REQUEST NEW PASSWORD

doerings_net - November 16, 2008 - 14:57
Project:User Protect
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:by design
Description

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.

#1

doerings_net - November 16, 2008 - 15:00
Title:Include restriction to Drupal's system feature REQUEST NEW PASSWORD » Include restriction to REQUEST NEW PASSWORD

[EDIT] title changed for clarification due to field length restriction

#2

hunmonk - November 16, 2008 - 15:21
Status:active» postponed (maintainer needs more info)

are you referring to the protection activated by disabling the 'change own password' user permission?

#3

chirale - December 12, 2008 - 09:14

Maybe No request new password should be useful to port this option on User Protect.

#4

hunmonk - December 12, 2008 - 13:21

i'm happy to review a patch that closes this discrepency, so somebody please offer one up ;)

#5

hunmonk - October 7, 2009 - 21:44
Status:postponed (maintainer needs more info)» by design

i 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... ;)

 
 

Drupal is a registered trademark of Dries Buytaert.