encode email in url param

This commit is contained in:
miloschwartz
2026-07-16 21:28:36 -04:00
parent 3c9f0946d2
commit a30119f5e8
4 changed files with 24 additions and 12 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ export async function requestPasswordReset(
});
});
const url = `${config.getRawConfig().app.dashboard_url}/auth/reset-password?email=${email}&token=${token}`;
const url = `${config.getRawConfig().app.dashboard_url}/auth/reset-password?email=${encodeURIComponent(email)}&token=${token}`;
if (!config.getRawConfig().email) {
logger.info(