Commit 47ad76ac authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

abort captcha when not locked on solve

parent 8ac5a061
......@@ -165,8 +165,10 @@ class HumanVerification extends Controller
# The Captcha was correct. We can remove the key from the user
# Additionally we will whitelist him so he is not counted towards botnetwork
$human_verification = ModelsHumanVerification::createFromKey($request->input("key"));
if ($human_verification !== null) {
Cache::put($captcha_id, true, now()->addMinutes(10));
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