Title: User Password
Last modified: August 22, 2016

---

# User Password

 *  Resolved [pixeledmedia](https://wordpress.org/support/users/pixeledmedia/)
 * (@pixeledmedia)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/)
 * Hi there,
 * How do I create a password or update a user’s password through update_user_meta?
 * I want to allow users to enter their password while signing up; or to allow a
   user to udpate their own password, just like WordPress.
 * Which meta key do I use with update_user_meta? I tried ‘password’, ‘user_pass’&‘
   user_password’, but all that it does is add a new entry(row) to the user’s meta
   and doesn’t update their password.
 * Thanks!
 * [https://wordpress.org/plugins/json-api-user/](https://wordpress.org/plugins/json-api-user/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611740)
 * Hi,
 * try retrieve_password
    It needs user_login var.
 * [http://localhost/api/user/retrieve_password/?user_login=john](http://localhost/api/user/retrieve_password/?user_login=john)
 *  [joeharby](https://wordpress.org/support/users/joeharby/)
 * (@joeharby)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611869)
 * On user registration is it possible to set the password?
 * Like this:
 * localhost/api/user/register/?username=steve@apple.com&email=steve@apple.com&nonce
   =01bb83d8b9&display_name=Steve%20Jobs&user_pass=123456
 * When I run the above URL to register a new user the password is not being used
   and it’s using an auto generated password. Any help would be much appreciated.
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611872)
 * yes. just provide the password like this &password=8nfnfhjcnsjnw
 * This is also mentioned in the ‘Other Notes’ tab on plugin page and all other 
   optional params.
 *  [joeharby](https://wordpress.org/support/users/joeharby/)
 * (@joeharby)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611873)
 * Adding &password=8nfnfhjcnsjnw to the end does not create the password. Have 
   you tried and had it work successfully?
 *  [joeharby](https://wordpress.org/support/users/joeharby/)
 * (@joeharby)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611874)
 * Ok, figure it out. I had a conflicting plugin that was not enabling the use of
   user generated passwords. Thanks Ali, awesome plugin! Are you available for custom
   work?
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611875)
 * Thanks. yes, I’m available.
 * And you’re welcome.
 *  Thread Starter [pixeledmedia](https://wordpress.org/support/users/pixeledmedia/)
 * (@pixeledmedia)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611880)
 * Thanks, it works, I was adding the password to the wrong method

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘User Password’ is closed to new replies.

 * ![](https://ps.w.org/json-api-user/assets/icon-256x256.png?rev=1965790)
 * [JSON API User](https://wordpress.org/plugins/json-api-user/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api-user/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api-user/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api-user/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api-user/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api-user/reviews/)

## Tags

 * [password](https://wordpress.org/support/topic-tag/password/)
 * [user](https://wordpress.org/support/topic-tag/user/)

 * 7 replies
 * 3 participants
 * Last reply from: [pixeledmedia](https://wordpress.org/support/users/pixeledmedia/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/user-password-2/#post-5611880)
 * Status: resolved