]> git.mjollnir.org Git - moodle.git/commit
OK, finished the fixes I wanted to add to the recent LDAP changes
authormoodler <moodler>
Thu, 23 Sep 2004 03:56:53 +0000 (03:56 +0000)
committermoodler <moodler>
Thu, 23 Sep 2004 03:56:53 +0000 (03:56 +0000)
commita3f1f815a9d3b110e38a2da25e51ae7d96a7f7e6
tree410ab3787efa1346d0606172aacb72ca70e94ead
parente290e48690392b2e3f017af43ec996d95c8394f7
OK, finished the fixes I wanted to add to the recent LDAP changes
for user field locking and forcing of password changing

  - Locked user fields always apply (for any authentication method).
    Currently these can only be defined in the LDAP auth screen
    but later these can be brought out as part of the generic
    interface for defining user fields and their behaviour.

  - Fields are now locked using Javascript and will work for any
    user fields that exist (list is not hard coded anymore).

  - Admins can always edit locked fields.

  - Admins can always force a password change.  The checkbox reflects
    the current status of this, and the admin can UNSET the checkbox
    if they want.  It is no longer necessary for the admin to change
    the old password for this to take effect, either.
lib/moodlelib.php
user/edit.html
user/edit.php