This commit is contained in:
CHIEFSOFT\ameye
2023-08-04 13:01:56 -04:00
parent 86e1be5b64
commit 262689f10c
+11 -4
View File
@@ -1098,11 +1098,18 @@ long WrenchResetMemberPass(CVars in, CVars &out) {
member_id = yy["member_id"].Long();
}
int r1, r2, r3;
int r1;
char reset_pin[10];
srand(time(NULL));
r1 = abs(rand()*100);
sprintf(reset_pin, "%d", r1);
// srand(time(NULL));
// r1 = abs(rand()*100);
// sprintf(reset_pin, "%d", r1);
for (i = 1; i <5; i++)
{
srand(time(NULL));
r1 = abs(rand());
sprintf(reset_pin, "%d", r1);
}
CVars xx;
if (member_id > 0) {