Typo???? Please check!

silversword411 committed Sep 7, 2022 at 10:41 UTC 8a34b8815179deb62a69ebede2c0307cd0b660c0
1 file changed +1 -1
webserver.js
+1 -1
@@ -1423,7 +1423,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
1423 if (domain.usernameisemail) { req.body.username = req.body.email; }
1424
1425 // Check if there is domain.newAccountToken, check if supplied token is valid
1426 - if ((domain.newaccountspass != null) && (domain.newaccountspass != '') && (req.body.anewaccountpass != domain.newaccountspass)) {
1426 + if ((domain.newaccountspass != null) && (domain.newaccountspass != '') && (req.body.newaccountspass != domain.newaccountspass)) {
1427 parent.debug('web', 'handleCreateAccountRequest: Invalid account creation token');
1428 req.session.loginmode = 2;
1429 req.session.messageid = 103; // Invalid account creation token.