SparkRossi / fluxcp

Automatically exported from code.google.com/p/fluxcp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Register new user account password md5 format #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
my sql database stored the user account password without any encryption, but 
using the fluxcp register new account will encrypt the password.
e.g. password entered = 123456, but in database is 
"e10adc3949ba59abbe56e057f20f883e", what I want is stored in database is 123456

Original issue reported on code.google.com by yapvoon1...@gmail.com on 19 Jan 2012 at 5:37

GoogleCodeExporter commented 8 years ago
This is due to a configuration error.
Password hashing is enabled by default in Flux (and this will not be changed).
It is HIGHLY recommended you migrate you hash the existing passwords in your 
database using the following query:
UPDATE `login` SET `user_pass` = md5(`user_pass`);

As an unrecommended alternative, you can disable password hashing in Flux in 
the application configuration file.

Original comment by Paradox924X on 6 Feb 2012 at 1:12