Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
8ac5a061
Commit
8ac5a061
authored
Jan 23, 2023
by
Dominik Hebeler
Browse files
Abort Captcha when not locked
parent
a9b021ef
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
metager/app/Http/Controllers/HumanVerification.php
View file @
8ac5a061
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment