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