fix unmarshal panic
This commit is contained in:
@@ -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{}) {
|
||||
|
||||
Reference in New Issue
Block a user