From 5d393c3915f7cb5e0733d48cfac28e24d294de7f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 16 Jan 2024 14:22:16 -0500 Subject: [PATCH] fix: pubkey missing from challenge record --- api/s5/http.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/s5/http.go b/api/s5/http.go index 0f411ca..9cd4619 100644 --- a/api/s5/http.go +++ b/api/s5/http.go @@ -212,6 +212,7 @@ func (h *HttpHandler) AccountRegisterChallenge(jc jape.Context) { } result := h.portal.Database().Create(&models.S5Challenge{ + Pubkey: pubkey, Challenge: hex.EncodeToString(challenge), Type: "register", })