username needed

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-27 10:11:54 -04:00
parent cab0a0f00c
commit 09aabdd980
@@ -548,6 +548,7 @@ long CreateWrenchBoardAccount(CVars in, CVars &out) {
bool compt = false;
REQ_STRING(in, "verify_link", 2, 120, "(.*)");
REQ_STRING (in, "password", 3, 15, "(.*)");
REQ_STRING(in, "username", 5, 49, "(.*)");
OPTIONAL(in, "loc") REQ_STRING(in, "loc", 3, 15, "(.*)");
//const char * loc = getenv('REMOTE_ADDR');
//in["loc"] = loc;