Skip to content
GitLab
Menu
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
e3e795b7
Commit
e3e795b7
authored
Feb 27, 2019
by
Dominik Hebeler
Browse files
Fixed HumanVerification
parent
7b18cd0a
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Middleware/HumanVerification.php
View file @
e3e795b7
...
...
@@ -35,7 +35,7 @@ class HumanVerification
* If someone that uses a bot finds this out we
* might have to change it at some point.
*/
if
(
$request
->
has
(
'password'
)
||
$request
->
has
(
'key'
)
||
$request
->
has
(
'appversion'
)
||
!
env
(
'BOT_PROTECTION'
,
false
))
{
if
(
$request
->
filled
(
'password'
)
||
$request
->
filled
(
'key'
)
||
$request
->
filled
(
'appversion'
)
||
!
env
(
'BOT_PROTECTION'
,
false
))
{
$update
=
false
;
return
$next
(
$request
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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