I can’t register new users, or modify user passwords, on our Kohana built website app. I do have access to our database and can change passwords there but I need a way to generate password hashes from strings which will be accepted by the system.
How can I use hash_password(passwordstring, FALSE) to display the hash I should insert into the DB?
Is there anything in the modules/auth/classes/kohana/auth.php file that I should be looking at?
Use
echo Auth::instance()->hash_password('new password'). You dont need pass$saltvalue because it will be generated automatically.