mysql db authentication error
Brought to you by:
jimpower
The is_login_ok function in function_global.inc.php does not send the db_is_login_ok the hashed version of the password. It gives the user an error. instead of fixing this I just went into the mysql DB and put the password as plain text now it works. (might wanna just try a simple md5 check)
Logged In: NO
I had the same problem.
I modified the line in "is_login_ok" function in "function_global.inc.php" from
} elseif ($user_row=db_is_login_ok($login,$pass)) {
to
} elseif ($user_row=db_is_login_ok($login,encrypt_password($pass))) {
In addition I modified the structure of the field "pass" in the table "phpg_users" from "char(32)" to "char(50)"
This way you'll not have the plain password in your DB..
Logged In: YES
user_id=879481
Originator: NO
See dev site for follow-up on this -> https://trac.phpgraphy.org/trac/changeset/416