记录ip
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -47,6 +47,7 @@ class AuthIdentifier | ... | @@ -47,6 +47,7 @@ class AuthIdentifier |
47 | } | 47 | } |
48 | 48 | ||
49 | if (empty($identifier) && (in_array($request->ip(), explode(',', config('api.inside')['ip'])))) { | 49 | if (empty($identifier) && (in_array($request->ip(), explode(',', config('api.inside')['ip'])))) { |
50 | Log::info(__METHOD__, ['ip'=>$request->ip()]); | ||
50 | goto AUTH; | 51 | goto AUTH; |
51 | } | 52 | } |
52 | 53 | ... | ... |
-
Please register or sign in to post a comment