News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Registration Password Wrong

Started by Leeloo5E, September 05, 2008, 05:27:52 AM

Previous topic - Next topic

Leeloo5E

When registering and enter a password and using this password to login after activation, I can't log in because the password seems to be wrong in the smf-db. After sending a password reminder and give a new password, then this password is ok and I can log in.
Is this a bug or have I set some configuration parameters?

Thanks.
Regards,
Leeloo

SleePy

Leeloo5E,

Does this still happen in 2.0 beta 4?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Jesaul

I've got this bug too on Beta 4.
2 of the 4 accounts are affected.
The first user reproduced this bug by changing his accoun't name :)

SleePy

What version of PHP and MySQL are you using?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Jesaul

Quote from: SleePy on September 09, 2008, 01:51:25 PM
What version of PHP and MySQL are you using?
php ==    5.2.5
MySQL version   == 5.0.51a-community

SleePy

Hmm, you are using new version of php and mysql, so no compatibility sha1 being done.

How are you registering the user? Through the admin panel or from the actual registration page?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Jesaul

All users have been registered in SMF 2 beta 3 and imported from there.
The registration has been done through admin panel.

Leeloo5E

I used SMF 1.1.5, but setting a new user name for the user after the sha1-pwd was generated and saved to database. so I have to generate a new sha1-pwd using the new user name i set before. after inserting this in the database everything fine ...

best regards,
Leeloo

SleePy

#8
are you manually inserting the passwords in the database?

I am going to check over this in a bit to see if I can't get it to happen.

Edit,
I just tried this on SMF 2.0 and registered a member via the admin panel just fine. I was able to login with it.

Are you using UTF-8?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Leeloo5E

I'm now using 1.1.6. But this was my mistake. I'm setting a username for the user, after the username and password is saved to the database. because you are generating the password from the username. i have to generate the password again using my own new username. so the problem is sold.

Thanks.
Best Regards.
Leeloo5E

Advertisement: