aboutsummaryrefslogtreecommitdiffstats
path: root/services/auth/httpsign.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/auth/httpsign.go')
-rw-r--r--services/auth/httpsign.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/auth/httpsign.go b/services/auth/httpsign.go
index d6a64c6fc4..d5c8ea33aa 100644
--- a/services/auth/httpsign.go
+++ b/services/auth/httpsign.go
@@ -92,7 +92,7 @@ func VerifyPubKey(r *http.Request) (*asymkey_model.PublicKey, error) {
keyID := verifier.KeyId()
- publicKeys, err := asymkey_model.SearchPublicKey(0, keyID)
+ publicKeys, err := asymkey_model.SearchPublicKey(r.Context(), 0, keyID)
if err != nil {
return nil, err
}