feat: Add email verification and password reset

This commit is contained in:
Dries Augustyns
2025-12-20 20:06:25 +01:00
parent 7e25c148cc
commit 1a5607f278
31 changed files with 1026 additions and 122 deletions
+2 -2
View File
@@ -86,9 +86,9 @@ export default function Login() {
setResetStatus('loading');
setResetError(null);
try {
const response = await network.fetch<{success: boolean}, typeof AuthenticationSchemas.resetPassword>(
const response = await network.fetch<{success: boolean}, typeof AuthenticationSchemas.requestPasswordReset>(
'POST',
'/users/reset-password',
'/auth/request-password-reset',
{
email: resetEmail,
},