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

rota POST [password] (codigo, senha) -> altera a senha se o código for válido (T) #60

Open
thaydds opened this issue Dec 7, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@thaydds
Copy link
Collaborator

thaydds commented Dec 7, 2017

Tipo de issue: Implementação

Stacks: Back-end Banco de dados

Entidades: Usuário | Evento | [outra]

Descrição

[descrição aqui]

Issues relacionadas: [ex: #1, #2 ]

Commits relacionados: [ex: cm1h3, ch51gh]

@thaydds thaydds added this to the Sprint 8 milestone Dec 7, 2017
@thaydds thaydds self-assigned this Dec 7, 2017
@mrmorais
Copy link
Member

  • POST /user/resetpass/:code
    • Verificar se o código está ativo e foi criado a menos de 24h
    • Faz o login do usuário pelo id User.loadById(id)
    • Usar o bcrypt para criptografar a nova senha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants