Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Cory.Nickerson on "Hasing User Passwords"

$
0
0

Working on a custom login page. I need to know how to hash the submitted password via the login form to match the password in the database.

$user_password = wp_hash_password( $_POST['user_password'] );

echo $user_password

This doesn't work. The output string for $user_password varies every time the form is submitted.


Viewing all articles
Browse latest Browse all 8245

Trending Articles