diff options
author | Matthew Wild <mwild1@gmail.com> | 2021-09-22 16:16:30 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2021-09-22 16:16:30 +0100 |
commit | eda4a96f2f1d67405e30efd9d106f8651b8d372d (patch) | |
tree | 289ec6a6f899e03493b3cdd3fd0e5aa787977b53 /plugins/mod_storage_xep0227.lua | |
parent | 14c6c3dbf063a449a7020fd716ab4012059562b8 (diff) | |
download | prosody-eda4a96f2f1d67405e30efd9d106f8651b8d372d.tar.gz prosody-eda4a96f2f1d67405e30efd9d106f8651b8d372d.zip |
mod_storage_xep0227: Add scram-credentials to user element rather than server
Diffstat (limited to 'plugins/mod_storage_xep0227.lua')
-rw-r--r-- | plugins/mod_storage_xep0227.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua index 57b029b8..f5fc01f5 100644 --- a/plugins/mod_storage_xep0227.lua +++ b/plugins/mod_storage_xep0227.lua @@ -139,7 +139,7 @@ handlers.accounts = { :text_tag("stored-key", hex_to_base64(data.stored_key)) :text_tag("iter-count", ("%d"):format(data.iteration_count)) :text_tag("salt", base64.encode(data.salt)); - xml:add_child(scram_el); + usere:add_child(scram_el); account_properties:exclude(scram_properties); end |