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 dcdc2de83a..e73db4f248 100644
--- a/services/auth/httpsign.go
+++ b/services/auth/httpsign.go
@@ -72,7 +72,7 @@ func (h *HTTPSign) Verify(req *http.Request, w http.ResponseWriter, store DataSt
}
}
- u, err := user_model.GetUserByID(publicKey.OwnerID)
+ u, err := user_model.GetUserByID(req.Context(), publicKey.OwnerID)
if err != nil {
log.Error("GetUserByID: %v", err)
return nil