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

Resolver para recuperação de senha #22

Closed
PoorlyDefinedBehaviour opened this issue Mar 8, 2020 · 0 comments · Fixed by #33
Closed

Resolver para recuperação de senha #22

PoorlyDefinedBehaviour opened this issue Mar 8, 2020 · 0 comments · Fixed by #33
Assignees
Labels
Back-end Back-end enhancement New feature or request
Projects

Comments

@PoorlyDefinedBehaviour
Copy link
Owner

PoorlyDefinedBehaviour commented Mar 8, 2020

Criar um resolver para recuperação de senha.

Imaginei o fluxo de recuperação assim:

  1. User faz uma mutation para um resolver que envia um email com um token para ele.

  2. O usuário abre o email, pega o token, coloca no app(Tela de recuperar senha).

  3. User faz uma mutation(da tela de recuperar senha) enviando o token com a senha nova.

  4. Backend da update no user com a senha nova se o token for valido e invalida o token após alterar a senha.

Precisa criar um tipo de token novo no enum TokenType em Entities/Token.

@PoorlyDefinedBehaviour PoorlyDefinedBehaviour created this issue from a note in Appizzas (Backlog) Mar 8, 2020
@PoorlyDefinedBehaviour PoorlyDefinedBehaviour added Back-end Back-end enhancement New feature or request labels Mar 8, 2020
@PoorlyDefinedBehaviour PoorlyDefinedBehaviour moved this from Backlog to To do in Appizzas Mar 8, 2020
@PoorlyDefinedBehaviour PoorlyDefinedBehaviour moved this from To do to In progress in Appizzas Mar 14, 2020
@PoorlyDefinedBehaviour PoorlyDefinedBehaviour moved this from In progress to Pull Requests in Appizzas Mar 14, 2020
@PoorlyDefinedBehaviour PoorlyDefinedBehaviour linked a pull request Mar 14, 2020 that will close this issue
@PoorlyDefinedBehaviour PoorlyDefinedBehaviour moved this from Pull Requests to Done in Appizzas Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back-end Back-end enhancement New feature or request
Projects
Appizzas
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant