From 826eb39036befb1164e4cf49b2d15a0cb5740fd2 Mon Sep 17 00:00:00 2001 From: zeripath Date: Wed, 1 Jun 2022 20:35:43 +0100 Subject: [PATCH] Apply suggestions from code review --- services/auth/httpsign.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/auth/httpsign.go b/services/auth/httpsign.go index 52c141236d66..226f087369d0 100644 --- a/services/auth/httpsign.go +++ b/services/auth/httpsign.go @@ -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 }