[support] Can I prevent user from changing his password?
Metzler, David
metzlerd at evergreen.edu
Tue Jun 1 15:30:45 UTC 2010
If you're looking for a sample implementation of this, there's an
example of this in the cas module. Cas is a single sign-on module that
when enabled, gives you an option of disabling the users ability to edit
passwords (or email addresses).
Dave
-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Neil Coghlan
Sent: Sunday, May 30, 2010 11:02 AM
To: support at drupal.org
Subject: Re: [support] Can I prevent user from changing his password?
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/ ]
>
--
[ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list