aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/sasl.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 2af60acd..03115fb6 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -240,6 +240,7 @@ local function new_anonymous(realm, password_handler)
function object.feed(self, message)
return "success"
end
+ --TODO: From XEP-0175 "It is RECOMMENDED for the node identifier to be a UUID as specified in RFC 4122 [5]." So util.uuid() should (or have an option to) behave as specified in RFC 4122.
object["username"] = generate_uuid()
return object
end