[Help]5165 password saving

05/29/2013 19:54 stojan4o#1
Hi.I have a 5165 source with mysql.Its good source for learning.But i have one problem who i can`t fix.When i make account my password in database are saved in another format
ex. i put my password:12
in database write:?A??i??
?M?g?s
How to fix it? :confused:
05/29/2013 22:12 pro4never#2
Sounds like it's storing your password in an encrypted format.

To fix it just remove the section of code in your source that encrypts the password before saving it to database as well as the code that decrypts it when reading from database.

Boom: Your problem is then solved.

Keep in mind that you'll have to either batch convert the passwords currently saved in the database or clear all accounts. Batch conversion would be very simple though.