Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/micro/micro
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Jul 27, 2023
2 parents 57eecc6 + c34cb41 commit 7c0abc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/auth/rules/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func VerifyAccess(rules []*auth.Rule, acc *auth.Account, res *auth.Resource, opt
// not case sensitive.
func include(slice []string, val string) bool {
for _, s := range slice {
if strings.ToLower(s) == strings.ToLower(val) {
if strings.EqualFold(s, val) {
return true
}
}
Expand Down

0 comments on commit 7c0abc3

Please sign in to comment.