Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Administration
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
Add new field to CSV pointing that newly created users must change their passwords at first login.
It will simply set user preference auth_forcepasswordchange=1 in the database table 'mdl_user_preferences' by calling:
set_user_preference('auth_forcepasswordchange', 1, $user->id);
It is called even now if you 1) leave user password blank and 2) check the flag to create user password (line 534 in admin/uploaduser.php). But it is not exactly what I want - I should wish that password remains the same up to first login of the user.
Attachments
Issue Links
| This issue will help resolve: | ||||
| MDL-13557 | Create a Bulk User Action to Force Password Change |
|
|
|
I'll see if at some point I can get a chance to look at this. Peace - Anthony