Answer the question
In order to leave comments, you need to log in
How to hash a password like in DLE?
Everywhere in DLE, passwords are created like this:
$password = $db->safesql( password_hash($password, PASSWORD_DEFAULT) );
. I did the same, but if I write safesql, then I get "Fatal error: Uncaught Error: Call to undefined method mysqli::safesql()", and without it, the passwords do not match.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question