Typo???? Please check!

This commit is contained in:
silversword411 2022-09-07 10:41:20 -04:00
parent 597c67bb1f
commit 8a34b88151
No known key found for this signature in database
GPG Key ID: 6F4BD176F56B50CA
1 changed files with 1 additions and 1 deletions

View File

@ -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.