mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 04:10:15 +01:00
Related to #3084 Implements URL encoding for email addresses in verification links and decodes them upon verification. - **Encode email addresses** in `sendVerificationEmail` and `resendVerificationEmail` functions using `encodeURIComponent` to ensure special characters like `+` are correctly handled in the verification link. - **Decode email addresses** in the `verifyEmail` function using `decodeURIComponent` to accurately retrieve and validate the email address from the verification link against the database. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/danny-avila/LibreChat/issues/3084?shareId=9c32df30-4156-4082-a3eb-fff54eaba5b3). |
||
|---|---|---|
| .. | ||
| Config | ||
| Endpoints | ||
| Files | ||
| Runs | ||
| start | ||
| Threads | ||
| ActionService.js | ||
| ActionService.spec.js | ||
| AppService.js | ||
| AppService.spec.js | ||
| AssistantService.js | ||
| AuthService.js | ||
| isDomainAllowed.js | ||
| isDomainAllowed.spec.js | ||
| ModelService.js | ||
| ModelService.spec.js | ||
| PluginService.js | ||
| signPayload.js | ||
| ToolService.js | ||
| UserService.js | ||