I'm confused, I'm trying to use the password_verify() function in PHP. When I add it to the line
$Authenticate->addFilter("password", "=", "s", "".((isset($_POST["password"]))?password_verify($_POST["password"]):"") ."");
at the top of my login page it doesn't allow anyone to login.
Where would I need to add <?php echo ((isset($_POST["password2"]))?password_verify($_POST["password2"]):""); ?> as in your example to get this to work?
My passwords are being stored successfully using
$spw = ((isset($_POST["password"]))?$_POST["password"]:"");
$storePW = password_hash($spw, PASSWORD_BCRYPT, array('cost' => 10));
I'm just having difficulty authenticating them.
Thanks