From 0062ce16a99a166a80fef935d30b6ee9d39b343c Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 25 Mar 2019 17:33:54 +0800 Subject: [PATCH] - remove comment --- business/auth2/auth_ctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/auth2/auth_ctx.go b/business/auth2/auth_ctx.go index 2543f2c97..a2a1a1d54 100644 --- a/business/auth2/auth_ctx.go +++ b/business/auth2/auth_ctx.go @@ -45,7 +45,7 @@ func (ctx *Context) GetAccessUUID() string { func (ctx *Context) GetRealRemoteIP() (ip string) { r := ctx.r if r != nil { - globals.SugarLogger.Debugf("GetRealRemoteIP header:%s", utils.Format4Output(r.Header, false)) + // globals.SugarLogger.Debugf("GetRealRemoteIP header:%s", utils.Format4Output(r.Header, false)) ip = r.Header.Get("X-Forwarded-For") if ip == "" { ip = r.Header.Get("X-real-ip")