Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
zeripath authored Jun 1, 2022
1 parent 864deef commit 826eb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/auth/httpsign.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (h *HTTPSign) Verify(req *http.Request, w http.ResponseWriter, store DataSt
)

// Handle SSH certificates
if len(req.Header.Get("x-ssh-certificate")) != 0 {
if len(req.Header.Get("X-Ssh-Certificate")) != 0 {
if len(setting.SSH.TrustedUserCAKeys) == 0 {
return nil
}
Expand Down

0 comments on commit 826eb39

Please sign in to comment.