Changeset

11840:5e9e75c277a2

mod_storage_xep0227: Add scram-credentials to user element rather than server
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Sep 2021 16:16:30 +0100
parents 11839:19b50ce9ef5a
children 11841:94534717ffca
files plugins/mod_storage_xep0227.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_xep0227.lua	Tue Oct 05 19:56:36 2021 +0200
+++ b/plugins/mod_storage_xep0227.lua	Wed Sep 22 16:16:30 2021 +0100
@@ -139,7 +139,7 @@
 				: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