We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa613af commit fd1eceeCopy full SHA for fd1ecee
src/libraries/Authentication.php
@@ -100,7 +100,6 @@ protected static function getFingerprint(User &$user) {
100
* @return string The partial IP address.
101
*/
102
protected static function getPartialIP(string $ip) {
103
- $ip = '192.168.1.4';
104
if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
105
$r = long2ip(ip2long($ip) & 0xFFFFFF00);
106
} else if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
0 commit comments