Last modified: 2010-05-15 15:59:42 UTC
Does createAndPromote.php still work?
$ php createAndPromote.php Fff zzz
Creating and promoting User:Fff...done.
But mysql shows
and indeed the new user cannot login with the password or no passwd at
One needs to use changePassword.php as an extra step.
P.S., if one gives fff, Fff is created, but the message on stdout
doesn't reflect that.
By the way, you might take this opportunity to make a more general
command that can create regular users too.
while read user email
php createAndPromote.php $user $password &&
echo Dear $user, your initial password is $password on $wiki|
mail -s $wiki\ account $email
done < classmates
User::setPassword() currently doesn't have immediate application and requires a subsequent call to saveSettings().
Have added this in r28914.