Skip to content

Commit 6b462ae

Browse files
committed
docs: add TODO from section 7
1 parent e77fd23 commit 6b462ae

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
# From zero to production in Rust
22

33
Check the Justfile for the commands to run the project.
4+
5+
## TODO:
6+
7+
### Section 7
8+
9+
- [ ] What happens if a user tries to subscribe twice? Make sure that they receive two confirmation emails;
10+
- [ ] What happens if a user clicks on a confirmation link twice?
11+
- [ ] What happens if the subscription token is well-formatted but non-existent?
12+
- [ ] Add validation on the incoming token, we are currently passing the raw user input straight into a query (thanks sqlx for protecting us from SQL injections <3);
13+
- [ ] Use a proper templating solution for our emails (e.g. tera);
14+
- [ ] Anything that comes to your mind!

0 commit comments

Comments
 (0)