# HG changeset patch # User Matthew Wild # Date 1632323790 -3600 # Node ID 5e9e75c277a29e8dc2d7b3f5515ad56c7833ac89 # Parent 19b50ce9ef5ab4b93d524ede7b8a67aee93ad923 mod_storage_xep0227: Add scram-credentials to user element rather than server diff -r 19b50ce9ef5a -r 5e9e75c277a2 plugins/mod_storage_xep0227.lua --- 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