I have uploaded around 700 students into the database. However, at the moment they all have the same password. How can I force a password change the first time they logon?
Many thanks for any help.
KVW.
I can't wait for the answer to this one, I realized after I uploaded 2300 users that this was the case
Marc
Good morning Martin,
I am aware of this feature. However, what can you do if you bulk upload users?What field would be used to toggle this to "active"?
And secondly, is there a way to change all users already in the database to force them to change/confirm their password on their next login?
Marc
If you like SQL you can do this job by running the following SQL statement directly in your moodle database:
insert into mdl_user_preferences
(userid, name, value)
select id as userid, 'auth_forcepasswordchange' as name, '1' as value
from mdl_user
where password = '201f00b5cd5d65a1c118e5c31431514c'
Just replace the red password code with the contents of the password field of the table mdl_user of the last imported useres.
If you like SQL you can do this job by running the following SQL statement directly in your moodle database:
insert into mdl_user_preferences
(userid, name, value)
select id as userid, 'auth_forcepasswordchange' as name, '1' as value
from mdl_user
where password = '201f00b5cd5d65a1c118e5c31431514c'
Just replace the red password code with the contents of the password field of the table mdl_user of the last imported useres.
Hello im having the same problem with bulk upload, i am new to this and i was wodering if you could tell me what to do with the file you have created above.
Thanks
how do I disable forcepasswordchange upon first login then? And why do users prompted for password change upon first login?