Thread:Project:Support desk/Users created with random password cannot login

Hello,

When I create a user (on the page Special:UserLogin&type=signup), the user receives an email with his random password, but he cannot login with this password! (error is Password incorrect). When I input the password myself, it works fine.

So the bug/error must be on the password generation/hashing.


 * Mediawiki is version 1.25.0
 * PHP is 5.4.39-0+deb7u2 (fpm-fcgi)
 * MySQL 5.5.43-0+deb7u1

Relevant part of Localsettings.php :

$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED; $wgImplicitGroups[] = 'emailconfirmed'; $wgGroupPermissions['emailconfirmed']['edit'] = true; $wgGroupPermissions['*']['read']   = false; $wgGroupPermissions['*']['createaccount'] = false;
 * 1) The following permissions were set based on your choice in the installer
 * 2) Disable for everyone.
 * 1) Disable for users, too: by default 'user' is allowed to edit, even if '*' is not.
 * 1) Make it so users with confirmed e-mail addresses are in the group.
 * 1) Hide group from user list.
 * 1) Finally, set it to true for the desired group.
 * 1) disable read for everyone
 * 1) Prevent new user registrations except by sysops

I cannot give you the url of the wiki as it is on intranet network.

If someone can help me troubleshoot this problem, I would be glad :)

Thank you, Regards, ~Nico