mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
utils/vhost: remove fmt.Printf method
This commit is contained in:
parent
dc5e130d33
commit
78c6845781
@ -128,7 +128,6 @@ func (v *VhostMuxer) handle(c *conn.Conn) {
|
|||||||
|
|
||||||
// if authFunc is exist and userName/password is set
|
// if authFunc is exist and userName/password is set
|
||||||
// verify user access
|
// verify user access
|
||||||
fmt.Printf("reqInfo: %+v\n", reqInfoMap)
|
|
||||||
if l.mux.authFunc != nil &&
|
if l.mux.authFunc != nil &&
|
||||||
l.userName != "" && l.passWord != "" {
|
l.userName != "" && l.passWord != "" {
|
||||||
bAccess, err := l.mux.authFunc(c, l.userName, l.passWord, reqInfoMap["Authorization"])
|
bAccess, err := l.mux.authFunc(c, l.userName, l.passWord, reqInfoMap["Authorization"])
|
||||||
|
Loading…
Reference in New Issue
Block a user