Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4264146c
...
4264146c87ef446103eb3dadde6b8cc345bc35ce
authored
2022-12-20 11:10:58 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
记录ip
1 parent
22bcb229
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app/Http/Middleware/AuthIdentifier.php
app/Http/Middleware/AuthIdentifier.php
View file @
4264146
...
...
@@ -47,6 +47,7 @@ class AuthIdentifier
}
if
(
empty
(
$identifier
)
&&
(
in_array
(
$request
->
ip
(),
explode
(
','
,
config
(
'api.inside'
)[
'ip'
]))))
{
Log
::
info
(
__METHOD__
,
[
'ip'
=>
$request
->
ip
()]);
goto
AUTH
;
}
...
...
Please
register
or
sign in
to post a comment