2015-03-22, 05:32 AM
I'm attempting to move one of my boards from 1.6 to 1.8. On the board, I've modified the salt_password function so that it looks like this:
This seems to work perfectly fine on the 1.6 board, but on the 1.8 board it seems to be ignoring the function completely. It doesn't even do anything when I throw a die() in the function like this:
It has me baffled.
Unsure if there's a new function somewhere and the deprecated code has been left in there, or if magic code.
This should probably be moved to 1.8.
Thanks ninja-mod. :^)
function salt_password($password, $salt)
{
// return md5(md5($salt).$password);
return md5(md5($salt).$password."random_string_here");
}
This seems to work perfectly fine on the 1.6 board, but on the 1.8 board it seems to be ignoring the function completely. It doesn't even do anything when I throw a die() in the function like this:
function salt_password($password, $salt)
{
// return md5(md5($salt).$password);
die("is this thing even on?");
return md5(md5($salt).$password."random_string_here");
}
It has me baffled.
Unsure if there's a new function somewhere and the deprecated code has been left in there, or if magic code.
This should probably be moved to 1.8.
Thanks ninja-mod. :^)