fix minify with flasherrors and pin passport modules versions #7386

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458
2025-10-31 20:09:37 +00:00
parent 3922d7b4d0
commit ad8b2e366b
3 changed files with 6 additions and 7 deletions

View File

@@ -3526,7 +3526,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
}),
hkey: encodeURIComponent(hardwareKeyChallenge).replace(/'/g, '%27'),
messageid: msgid,
flashErrors: JSON.stringify(flashErrors),
flashErrors: JSON.stringify(flashErrors).replace(/"/g, '\\"'),
passhint: passhint,
welcometext: domain.welcometext ? encodeURIComponent(obj.common.replacePlaceholders(domain.welcometext, {