fix: pubkey missing from challenge record

This commit is contained in:
Derrick Hammer 2024-01-16 14:22:16 -05:00
parent 3be1042def
commit 5d393c3915
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ func (h *HttpHandler) AccountRegisterChallenge(jc jape.Context) {
} }
result := h.portal.Database().Create(&models.S5Challenge{ result := h.portal.Database().Create(&models.S5Challenge{
Pubkey: pubkey,
Challenge: hex.EncodeToString(challenge), Challenge: hex.EncodeToString(challenge),
Type: "register", Type: "register",
}) })