code-corps / code-corps/code-corps-api

Once password reset is done, send a notification email to the user

Đang mở
#732 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Priority: Low
Ngôn ngữ chính
Elixir
Star
234
Fork
82
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Problem

This is just additional security that a lot of sites have.

Once the user successfully resets their password, they will be sent an email notifying them of this process being done, with a link to request another reset in case "someone else did this".

The email should contain something like:

**Subject**: Your password on codecorps.org has been reset

Your password on [codecorps.org](www.codecorps.org) has been reset.

If you did not do this, please click [here]() (password reset link) to reset it again.

If this was done by you, then feel free to ignore this email.

## Subtasks
- [ ] on successful password reset (when the endpoint in #731 returns an OK), generate and send the email above
- [ ] add tests to ensure this happens
- [ ] test the email as well

@JoshSmith I would like to stress that this is purely optional and not something that should in any way be considered a prerequisite to label #498 as complete, but it is something that some sites do, so I wanted to have an issue for it.

## References

Progress on: #498

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.