SMTP and other email realted settings

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-08 06:45:30 +00:00
parent 3651ee9ed4
commit d4ecddba22
7 changed files with 499 additions and 5 deletions

View File

@@ -64,7 +64,11 @@ export default function ResetPassword() {
// Correct API endpoint for password reset confirmation
await fetchAPI('/v1/auth/password-reset/confirm/', {
method: 'POST',
body: JSON.stringify({ token, new_password: password }),
body: JSON.stringify({
token,
new_password: password,
new_password_confirm: confirmPassword
}),
});
setResetState('success');
} catch (err: unknown) {