mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Typo???? Please check!
This commit is contained in:
parent
597c67bb1f
commit
8a34b88151
1 changed files with 1 additions and 1 deletions
|
@ -1423,7 +1423,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
||||||
if (domain.usernameisemail) { req.body.username = req.body.email; }
|
if (domain.usernameisemail) { req.body.username = req.body.email; }
|
||||||
|
|
||||||
// Check if there is domain.newAccountToken, check if supplied token is valid
|
// 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');
|
parent.debug('web', 'handleCreateAccountRequest: Invalid account creation token');
|
||||||
req.session.loginmode = 2;
|
req.session.loginmode = 2;
|
||||||
req.session.messageid = 103; // Invalid account creation token.
|
req.session.messageid = 103; // Invalid account creation token.
|
||||||
|
|
Loading…
Reference in a new issue