Hi.
i have problem. i got in config and function set encryption to "plain" and my passwords in database are sha1.
when i change it for :
i cant login to my acc, so i try create new account. and i saw in my mysql database password is normal plain...
some1 can me where is my fault ?
i have problem. i got in config and function set encryption to "plain" and my passwords in database are sha1.
when i change it for :
//return password to db
function password_ency($password)
{
$ency = $GLOBALS['config']['server']['encryptionType'];
if($ency != 'sha1')
return hash($ency, $password);
elseif($ency == 'sha1')
return $password;
i cant login to my acc, so i try create new account. and i saw in my mysql database password is normal plain...
some1 can me where is my fault ?