mirror of
https://github.com/fatedier/frp.git
synced 2024-12-15 19:21:01 +01: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