the pin cannot start with 0. if you try it throws invalid pin. probably because whatever command php uses to determine the length cuts leading zeros.
bug just cost me a pool worker :-(
in register.php (onyl one i looked at) look for this section
$authPin = (int) $_POST["authPin"];
change to:
$authPin = (string) $_POST["authPin"];
look for:
//valid date authpin is valid
change the block under it to read:
//valid date authpin is valid
if(strlen($authPin) >= 4){
if(!is_numeric($authPin)){
$validRegister = 0;
$returnError .= " | Not a valid authpin";
}
}else{
$validRegister = 0;
$returnError .= " | Authorization pin number is not valid";
}
verified myself this time.
