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
3160e598
Commit
3160e598
authored
Oct 06, 2020
by
Dominik Hebeler
Browse files
excluded loadmore from human-/browserverification
parent
4ed5d04e
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Middleware/BrowserVerification.php
View file @
3160e598
...
...
@@ -17,6 +17,10 @@ class BrowserVerification
*/
public
function
handle
(
$request
,
Closure
$next
)
{
if
(
$request
->
filled
(
"loadMore"
)
&&
Cache
::
has
(
$request
->
input
(
"loadMore"
)))
{
return
$next
(
$request
);
}
ini_set
(
'zlib.output_compression'
,
'Off'
);
ini_set
(
'output_buffering'
,
'Off'
);
ini_set
(
'output_handler'
,
''
);
...
...
app/Http/Middleware/HumanVerification.php
View file @
3160e598
...
...
@@ -19,6 +19,10 @@ class HumanVerification
*/
public
function
handle
(
$request
,
Closure
$next
)
{
if
(
$request
->
filled
(
"loadMore"
)
&&
Cache
::
has
(
$request
->
input
(
"loadMore"
)))
{
return
$next
(
$request
);
}
// The specific user
$user
=
null
;
$update
=
true
;
...
...
Write
Preview
Supports
Markdown
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