0.0.6 • Published 2 years ago

strapi-plugin-update-password v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Strapi plugin update-password

This plugin allows users using the local auth provider, to update their password.

Route and params

The route this plugin provides is:

PUT: http://your-strapi-app/api/update-password

Here's an example of how the data might look in your PUT request:

{
  "password": "originalPaSsWoRd",
  "newPassword": "secret-new%password",
  "confirmPassword": "secret-new%password"
}

So with axios, you might do something like this:

axios({
  method: 'put',
  url: 'http://your-strapi-app/api/update-password',
  data: {
    password: "originalPaSsWoRd",
    newPassword: "secret-new%password",
    confirmPassword: "secret-new%password"
  },
  headers: {
    "Authorization": "Bearer BEARER_TOKEN_HERE"
  }
})

And that's it. Feel free to open an issue with any questions :)

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago