mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-17 19:54:23 -05:00
Merge pull request #57 from kolobus/master
Hash instead of IP in traffic limiter
This commit is contained in:
commit
deda8e4783
@ -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