We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67c6781 commit 48a2129Copy full SHA for 48a2129
protocol/http/handshake.go
@@ -50,7 +50,7 @@ func HandleConnectionEx(
50
ctx = auth.ContextWithUser(ctx, username)
51
}
52
53
- if strings.HasPrefix(authorization, "Basic ") {
+ if !authOk && strings.HasPrefix(authorization, "Basic ") {
54
userPassword, _ := base64.URLEncoding.DecodeString(authorization[6:])
55
userPswdArr := strings.SplitN(string(userPassword), ":", 2)
56
if len(userPswdArr) == 2 {
0 commit comments