Commit 7003a045 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

spammers will now all receive the same uid

parent 72e4d70e
......@@ -33,7 +33,7 @@ class HumanVerification
$uid = "";
if (\App\Http\Controllers\HumanVerification::couldBeSpammer($ip)) {
$id = hash("sha1", "999.999.999.999");
$uid = hash("sha1", "999.999.999.999" . $ip . $_SERVER["AGENT"] . "uid");
$uid = hash("sha1", "999.999.999.999uid");
} else {
$id = hash("sha1", $ip);
$uid = hash("sha1", $ip . $_SERVER["AGENT"] . "uid");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment