From 8a34b8815179deb62a69ebede2c0307cd0b660c0 Mon Sep 17 00:00:00 2001 From: silversword411 Date: Wed, 7 Sep 2022 10:41:20 -0400 Subject: [PATCH] Typo???? Please check! --- webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.js b/webserver.js index ed813bb5..dde26d2b 100644 --- a/webserver.js +++ b/webserver.js @@ -1423,7 +1423,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF if (domain.usernameisemail) { req.body.username = req.body.email; } // Check if there is domain.newAccountToken, check if supplied token is valid - if ((domain.newaccountspass != null) && (domain.newaccountspass != '') && (req.body.anewaccountpass != domain.newaccountspass)) { + if ((domain.newaccountspass != null) && (domain.newaccountspass != '') && (req.body.newaccountspass != domain.newaccountspass)) { parent.debug('web', 'handleCreateAccountRequest: Invalid account creation token'); req.session.loginmode = 2; req.session.messageid = 103; // Invalid account creation token.