writing password to database
-
Hey guys,
I have created a new sign up form as i need it to be a lot more complex than the standard wordpress sign up or even what register plus etc can provide. The problem I am having is when writing the password to the database.
currently i am using
$password = wp_hash_password($_POST['user_password']);
and then inserting that into the database in the password section of the wp_users database.. however that password then doesnt work when you go to login with it…
oddly enough when i refresh the page using
echo wp_hash_password('test');
i get a different hash displaying everytime..As I am using buddy press and the wordpress function reference says that the $wp_hasher information can be overwritten by plugins and i am assuming that is what is happening.
Please help! i am trying to get this registration form up and running asap.
Thanks in advance
- The topic ‘writing password to database’ is closed to new replies.