Commit 8ac5a061 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Abort Captcha when not locked

parent a9b021ef
......@@ -43,7 +43,7 @@ class HumanVerification extends Controller
$human_verification = ModelsHumanVerification::createFromKey($request->input("key"));
if (!$human_verification->isLocked()) {
if ($human_verification === null || !$human_verification->isLocked()) {
return redirect($redirect_url);
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