syntx err
This commit is contained in:
@@ -550,6 +550,7 @@ long CreateWrenchBoardAccount(CVars in, CVars &out) {
|
||||
REQ_STRING (in, "password", 3, 15, "(.*)");
|
||||
REQ_STRING(in, "username", 5, 49, "(.*)");
|
||||
OPTIONAL(in, "loc") REQ_STRING(in, "loc", 3, 15, "(.*)");
|
||||
CVars x;
|
||||
//const char * loc = getenv('REMOTE_ADDR');
|
||||
//in["loc"] = loc;
|
||||
try {
|
||||
@@ -557,7 +558,7 @@ long CreateWrenchBoardAccount(CVars in, CVars &out) {
|
||||
if (lonkF) {
|
||||
if (out["pending_id"].Long() > 0 ){
|
||||
out["status"] = "prepare to create account";
|
||||
CVars x;
|
||||
|
||||
x["username"] = out["username"];
|
||||
x["username"].set_valid(true);
|
||||
x["firstname"] = out["firstname"];
|
||||
|
||||
Reference in New Issue
Block a user