Removes friend network creation, just filled stuff up anyway.
This commit is contained in:
parent
83415ee595
commit
1c25899408
@ -1173,7 +1173,6 @@ public class delegationServices {
|
|||||||
System.out.println("Token & UUID Free (Main)");
|
System.out.println("Token & UUID Free (Main)");
|
||||||
System.out.println("Creating.");
|
System.out.println("Creating.");
|
||||||
Document createForm = new Document();
|
Document createForm = new Document();
|
||||||
Document FnetInit = new Document();
|
|
||||||
createForm.append("User", User);
|
createForm.append("User", User);
|
||||||
createForm.append("Password", Password);
|
createForm.append("Password", Password);
|
||||||
createForm.append("Status", true);
|
createForm.append("Status", true);
|
||||||
@ -1192,13 +1191,6 @@ public class delegationServices {
|
|||||||
//createForm.append("Uid",uid);
|
//createForm.append("Uid",uid);
|
||||||
createForm.append("lastNet", Macid);
|
createForm.append("lastNet", Macid);
|
||||||
accountS.insertOne(createForm);
|
accountS.insertOne(createForm);
|
||||||
FnetInit.append("User", User);
|
|
||||||
FnetInit.append("Status", true);
|
|
||||||
FnetInit.append("Friends", " ");
|
|
||||||
FnetInit.append("Token", tokenSTGEN);
|
|
||||||
FnetInit.append("UUID", UUID);
|
|
||||||
FnetInit.append("Control", 1);
|
|
||||||
FNETDOC.insertOne(FnetInit);
|
|
||||||
BasicDBObject searchQuery = new BasicDBObject();
|
BasicDBObject searchQuery = new BasicDBObject();
|
||||||
searchQuery.append("clientid", ClientID);
|
searchQuery.append("clientid", ClientID);
|
||||||
electronicMailHandler.Onboarding(Email, User,UUID);
|
electronicMailHandler.Onboarding(Email, User,UUID);
|
||||||
@ -1273,7 +1265,6 @@ public class delegationServices {
|
|||||||
System.out.println("Token Free (Main)");
|
System.out.println("Token Free (Main)");
|
||||||
System.out.println("Creating.");
|
System.out.println("Creating.");
|
||||||
Document createForm = new Document();
|
Document createForm = new Document();
|
||||||
Document FnetInit = new Document();
|
|
||||||
createForm.append("User", User);
|
createForm.append("User", User);
|
||||||
createForm.append("Status", true);
|
createForm.append("Status", true);
|
||||||
createForm.append("limited", true);
|
createForm.append("limited", true);
|
||||||
@ -1285,14 +1276,6 @@ public class delegationServices {
|
|||||||
createForm.append("Token", tokenSTGEN);
|
createForm.append("Token", tokenSTGEN);
|
||||||
createForm.append("Control", 1);
|
createForm.append("Control", 1);
|
||||||
accountS.insertOne(createForm);
|
accountS.insertOne(createForm);
|
||||||
//create Fnet user
|
|
||||||
FnetInit.append("User", User);
|
|
||||||
FnetInit.append("Status", true);
|
|
||||||
FnetInit.append("Freinds", " ");
|
|
||||||
FnetInit.append("Token", tokenSTGEN);
|
|
||||||
FnetInit.append("Control", 1);
|
|
||||||
FNETDOC.insertOne(FnetInit);
|
|
||||||
|
|
||||||
BasicDBObject searchQuery = new BasicDBObject();
|
BasicDBObject searchQuery = new BasicDBObject();
|
||||||
searchQuery.append("clientid", ClientID);
|
searchQuery.append("clientid", ClientID);
|
||||||
BasicDBObject updateQuery = new BasicDBObject();
|
BasicDBObject updateQuery = new BasicDBObject();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user