Manually changing to encryption
I am trying to convert one of my database login pages to encryption instead of plain text.
I have no pc with Windows on it at this point in time so I am trying to do it manually.
I created a separate add user page that is using 'password_hash' and verified that part works properly.
My question is this... Here is the line of webassist code
$Authenticate->addFilter("passwd", "=", "s", "".((isset($_POST["Password"]))?$_POST["Password"]:"") ."");
and here is what I changed it to..
$Authenticate->addFilter("passwd", "=", "s", "".((isset($_POST["Password"]))?password_hash($_POST["Password"], PASSWORD_DEFAULT):"") ."");
I am not getting any errors now but it will not log in... Is there a glaring error anywhere.. What am I missing?
Hoping to get a Windows pc set back up soon but in the mean time I would like this part fixed if possible
Thanks.
Emma.