From eda4a96f2f1d67405e30efd9d106f8651b8d372d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 22 Sep 2021 16:16:30 +0100 Subject: mod_storage_xep0227: Add scram-credentials to user element rather than server --- plugins/mod_storage_xep0227.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3