yayyy not testing commits

This commit is contained in:
hippoz 2020-12-11 00:36:52 +02:00
parent bc75e3f24c
commit 7d1882895b

View file

@ -50,6 +50,7 @@ app.post('/account/create', [
return; return;
} }
if (config.restrictions) {
const restrictions = config.restrictions.signup; const restrictions = config.restrictions.signup;
if (restrictions && restrictions.specialCode) { if (restrictions && restrictions.specialCode) {
const passedSpecialCode = req.body.specialCode; const passedSpecialCode = req.body.specialCode;
@ -65,6 +66,7 @@ app.post('/account/create', [
return false; return false;
} }
} }
}
const username = req.body.username; const username = req.body.username;