Hi,
Is there a flag i can set in the DB to force a specific user to change password on the next login?
I'm using Moosh (https://moosh-online.com) to script automated user creation in Moodle.
For example:
sudo -u www-data moosh user-create --password SoMePa55word --email john.doe@xxxxx.com --city "Stockholm" --country SE --firstname "John" --lastname "Doe" username_test
In Moosh there is no way to auto generate passwords, you have to set one manually. The script generates a password and emails it to the new user. I want to force the new user to change that password on login.