Skip to content

Commit

Permalink
fix: another instance of lowercase username
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nhawk authored Jul 3, 2024
1 parent 792db81 commit 0019600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arborist/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ func authMappingForUser(db *sqlx.DB, username string) (AuthMapping, *ErrorRespon
err := db.Select(
&mappingQuery,
stmt,
username, // $1
strings.ToLower(username), // $1
AnonymousGroup, // $2
LoggedInGroup, // $3
)
Expand Down

0 comments on commit 0019600

Please sign in to comment.