fix: pubkey missing from challenge record
This commit is contained in:
parent
3be1042def
commit
5d393c3915
|
@ -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",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue