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

This commit is contained in:
GoEdgeLab
2022-08-30 17:28:58 +08:00
parent 40f2ee241d
commit 69244a1947

View File

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