1 (edited by coaster 2005-06-27 14:42)

Topic: Admin changing password for users doesn't work in special cases

I imported an IPB database to the PunBB database using Chacmool's converter. It set the "password" field in the user table to an empty string. This seems to be causing problems when an administrator wants to change the password of a user with an empty password field, I get a "Wrong old password" error message. When I enter a random string into the password field, changing the password works.
I don't know if and how this affects password retrieving via e-mail.

Re: Admin changing password for users doesn't work in special cases

What if you set the password field to something other than an empty string? Normally, it would never be an empty string.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3 (edited by coaster 2005-07-03 08:34)

Re: Admin changing password for users doesn't work in special cases

Yes, it works then.

Like I said, Chacmool's database converter set all passwords to an empty string (in the database, not the hashsum of an empty string).

Re: Admin changing password for users doesn't work in special cases

Aha, I see. Then the problem lies with the converter?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Admin changing password for users doesn't work in special cases

Either that or PunBB as it should change the password in the database, whatever in the password field might be. wink