Jump to content
McKay Development

EnelGy

Member
  • Posts

    38
  • Joined

  • Last visited

Posts posted by EnelGy

  1. Hello I have seen the answer on this "And the reason is because you need to set logonID to something unique in logOn if you're logging into the same account from the same public IP."

    Can you be with this answer more specific ???

    What should I do here ? 

        let logonId = details.logonID;
                if (logonId) {
                    let maxUint32 = Math.pow(2, 32) - 1;
                    if (typeof logonId == 'string' && logonId.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)) {
                        logonId = StdLib.IPv4.stringToInt(logonId) ^ PRIVATE_IP_OBFUSCATION_MASK;
                    } else if (typeof logonId == 'number' && logonId > maxUint32) {
                        this._warn(`logonID ${details.logonID} is greater than ${maxUint32} and has been truncated.`);
                        logonId = maxUint32;
                    }
                }

×
×
  • Create New...