Add email password reset logic. #2

Merged
muyrety merged 7 commits from :auth/email into main 2025-05-24 12:06:47 +00:00

7 commits

Author SHA1 Message Date
93f636cc3f
Improve formatting and colouring of pwreset templates.
Signed-off-by: Arija A. <ari@ari.lt>
2025-05-24 15:03:43 +03:00
a9090a3b07
Fix logic bugs in auth.py
* Check if a user exists on password reset
* Hash session contents

Signed-off-by: Arija A. <ari@ari.lt>
2025-05-24 14:57:32 +03:00
1286601449
Fix missing email NULLing in auth.register
Signed-off-by: Arija A. <ari@ari.lt>
2025-05-24 02:29:35 +03:00
6a60fa61bb
Fix email indexing.
Signed-off-by: Arija A. <ari@ari.lt>
2025-05-24 02:26:59 +03:00
bca583f253
Remove redundant query for username in auth.pwreset.
Signed-off-by: Arija A. <ari@ari.lt>
2025-05-24 02:14:06 +03:00
cfe3a2c508
Move newpw check to reset check body.
Signed-off-by: Arija A. <ari@ari.lt>
2025-05-24 02:02:09 +03:00
62741a22c3
Add email password reset logic.
Signed-off-by: Arija A. <ari@ari.lt>
2025-05-24 01:46:10 +03:00