Commit Graph

12 Commits

Author SHA1 Message Date
Mythie
d3f82e1eb0 fix: code style updates and email wording changes 2023-06-17 11:44:34 +10:00
Ephraim Atta-Duncan
fe6561f596 Set reset token expiry to 24 hours 2023-06-07 11:02:50 +00:00
Ephraim Atta-Duncan
9cfbb1dec9 Avoid leaking that a user has an account 2023-06-07 10:59:20 +00:00
Ephraim Atta-Duncan
9dd8c2842c Match emails with regex 2023-06-07 10:44:07 +00:00
Ephraim Atta-Duncan
3a0648c85d Expire token after 1 hour 2023-06-05 16:54:12 +00:00
Ephraim Atta-Duncan
2b9a2ff250 Avoid user from setting the same old password 2023-06-05 16:36:16 +00:00
Ephraim Atta-Duncan
4136811e32 Avoid consecutive password reset requests 2023-06-05 16:01:01 +00:00
Ephraim Atta-Duncan
e9cee23c15 Error handling for invalid users 2023-06-05 15:52:00 +00:00
Ephraim Atta-Duncan
5d2349086d Send email on password reset complete 2023-06-05 15:33:27 +00:00
Ephraim Atta-Duncan
6e2b05f835 Change password in database to new reset password 2023-06-05 14:36:20 +00:00
Ephraim Atta-Duncan
66b529a841 feat: send reset password email 2023-06-05 13:44:47 +00:00
Ephraim Atta-Duncan
8293b50195 Create reset password token for user 2023-06-05 13:05:25 +00:00