Skip to content
Snippets Groups Projects
Commit 7003a045 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

spammers will now all receive the same uid

parent 72e4d70e
No related branches found
No related tags found
2 merge requests!1895Development,!1806Development
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment