refactor: Add internal method Utils.encodeForUrl for properly encoding email addresses for use in URLs (#9541)

This commit is contained in:
Daniel
2025-03-06 11:57:37 +11:00
committed by GitHub
parent 22e8568936
commit 533a60e218
3 changed files with 22 additions and 1 deletions

View File

@@ -282,7 +282,6 @@ export class UserController extends AdaptableController {
user = await this.setPasswordResetToken(email);
}
const token = encodeURIComponent(user._perishable_token);
const link = buildEmailLink(this.config.requestResetPasswordURL, token, this.config);
const options = {
appName: this.config.appName,