记录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 | Log::info(__METHOD__, ['ip'=>$request->ip()]); | 49 | Log::info(__METHOD__, ['ip'=>$request->ip()]); |
| 50 | |||
| 50 | if (empty($identifier) && (in_array($request->ip(), explode(',', config('api.inside')['ip'])))) { | 51 | if (empty($identifier) && (in_array($request->ip(), explode(',', config('api.inside')['ip'])))) { |
| 51 | goto AUTH; | 52 | goto AUTH; |
| 52 | } | 53 | } | ... | ... |
-
Please register or sign in to post a comment