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 recovery method #56

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

Create cli user password recovery method #56

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 recovery in a terminal.
It should send a user an email with the token you need to use to change a password.
Available flags:

  • u username - user username

To make a password recovery, CLI should create an HTTP request:

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

You can receive:

  • 200: json {"status":"ok"}
  • 400: json {"error":"credential format invalid"}
  • 404: json {"error":"user not found"}

Note: You can use email instead of username in password recovery.

@undassa undassa added this to the v0.1.0 milestone Oct 13, 2016
@undassa undassa assigned unloop and unassigned unloop 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

2 participants