We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58881f2 commit 94cb580Copy full SHA for 94cb580
services/auth/basic.go
@@ -50,7 +50,7 @@ func (b *Basic) Verify(req *http.Request, w http.ResponseWriter, store DataStore
50
}
51
52
auths := strings.SplitN(baHead, " ", 2)
53
- if len(auths) != 2 || (auths[0] != "Basic" && auths[0] != "basic") {
+ if len(auths) != 2 || (strings.ToLower(auths[0]) != "basic") {
54
return nil
55
56
0 commit comments