CUCB / CUCB/website

Password resets

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
must have
Dominant language
TypeScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The current website has automated password resets. This is done by creating a token, storing a salted, hashed version of this in the database, and then emailing a link that will check the token to the person. A few things to bear in mind:

- ~Tell people to email the webmaster if they haven't updated an old cam address~ (now done)
- ~We could do [e2e testing of this with Mailhog](https://humble.dev/testing-an-email-workflow-from-end-to-end-with-cypress)~ (now done)
- ~If the above is done, we should also test that booking emails and receipts are sent correctly~ (now done)

TODO: We don't nicely handle cases where a password reset is required yet, see below comment for more info.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.