MyBB Community Forums

Full Version: Please READ, Having Probs With LOGINKEY (SQL)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I converted over from 2.0.4 IPB and now whenver somebody on my new MYBB forums ask to reset their password, they never receive an email. I never did either (tried different emails too) so I changed my password via phpMyAdmin (SQL) and I still coudn't log in with the new password.

So, I registered a test user in the board and got his loginkey from the mysql and put his loginkey as mine and that made it available for me to login! I'm sorry if this sounds confusing but, what I basiclly want is a code that will allow me to change everybodys loginkey at once. I want to changes everybodys loginkey to the test user's I created. Hope that made sense.
The loginkey should be unique for each user. You can insert an md5 encrypted password into the database. Leave the fields salt and loginkey empty as they will be generated automatically after the first login of that user.