[support] Can I prevent user from changing his password?

Neil Coghlan neil at esl-lounge.com
Sun May 30 18:02:00 UTC 2010


you could look into using hook_form_alter on the user_profile_form


----- Original Message ----- 
From: "Bob Smither" <Smither at C-C-I.com>
To: <support at drupal.org>
Sent: Sunday, May 30, 2010 2:55 PM
Subject: Re: [support] Can I prevent user from changing his password?


>
> On Sun, 2010-05-30 at 10:27 -0700, Domenic Santangelo wrote:
>> On May 30, 2010, at 8:30 AM, Bob Smither wrote:
>>
>> > I found where I can keep them from changing their login name, but I 
>> > have
>> > not found how to prevent them from changing their password to a weak
>> > password.
>>
>> You could always hide the password field if you don't want them to change 
>> it at all
>
> Maybe you could!  I'm not sure how to do that.  I assume it requires an
> edit to ... what?
>
> Thanks!
> -- 
> Bob Smither <Smither at C-C-I.com>
>
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]
> 



More information about the support mailing list