mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
MD5 instead of IP
This commit is contained in:
parent
6b3ad32665
commit
a13ad6368f
|
@ -79,7 +79,7 @@ class trafficlimiter extends persistence
|
|||
*/
|
||||
public static function getIp()
|
||||
{
|
||||
return $_SERVER[self::$_ipKey];
|
||||
return md5($_SERVER[self::$_ipKey]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user