forked from hippoz/brainlet
yayyy not testing commits
This commit is contained in:
parent
bc75e3f24c
commit
7d1882895b
1 changed files with 12 additions and 10 deletions
|
@ -50,6 +50,7 @@ app.post('/account/create', [
|
|||
return;
|
||||
}
|
||||
|
||||
if (config.restrictions) {
|
||||
const restrictions = config.restrictions.signup;
|
||||
if (restrictions && restrictions.specialCode) {
|
||||
const passedSpecialCode = req.body.specialCode;
|
||||
|
@ -65,6 +66,7 @@ app.post('/account/create', [
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const username = req.body.username;
|
||||
|
||||
|
|
Loading…
Reference in a new issue