Jump to content

How to Update A Member Password


kcxwjq_1

Recommended Posts

Just use an UPDATE query and put the new password in the member's record. It's probably best if you require the old password for verification first. Don't forget to hash the password before saving it. UPDATE users SET password = '{$new_password}' WHERE id = {$user_id}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...