鉴权成功时也在访问日志中记录鉴权类型

This commit is contained in:
刘祥超
2022-08-30 17:28:58 +08:00
parent 52fdee2eeb
commit 8cc06e6707

View File

@@ -43,6 +43,7 @@ func (this *HTTPRequest) doAuth() (shouldStop bool) {
if uriChanged { if uriChanged {
this.uri = newURI this.uri = newURI
} }
this.tags = append(this.tags, ref.AuthPolicy.Type)
return return
} else { } else {
// Basic Auth比较特殊 // Basic Auth比较特殊