fix unmarshal panic

This commit is contained in:
2023-07-07 23:36:05 +02:00
parent dff505037f
commit 0d4f34f6d5
3 changed files with 6 additions and 6 deletions

View File

@@ -8,9 +8,9 @@ import (
)
type account struct {
salt string `prosody:"salt"`
storedKey string `prosody:"stored_key"`
iterationCount int `prosody:"iteration_count"`
Salt string `prosody:"salt"`
StoredKey string `prosody:"stored_key"`
IterationCount int `prosody:"iteration_count"`
}
func (acc *account) unmarshal(data map[string]interface{}) {