Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create cli user password change method #58

Closed
undassa opened this issue Oct 13, 2016 · 0 comments
Closed

Create cli user password change method #58

undassa opened this issue Oct 13, 2016 · 0 comments

Comments

@undassa
Copy link
Member

undassa commented Oct 13, 2016

A User should be able to execute command deploy password change in a terminal.
It should change user's password in deploy it system
Available flags:

  • t token - recovery token

To make an authentication, CLI should create an HTTP request:
Request:

  • type: POST
  • url: /user/password/change
  • data: `json {"password":"password"}``

You can receive:

  • 200: json {"token":"access token"}
  • 400: json {"error":"validation error", "description":"validation description"}

Note: password should be at least 8 chars of length.

@undassa undassa added this to the v0.1.0 milestone Oct 13, 2016
@undassa undassa closed this as completed Nov 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant