aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-02-14 19:39:46 +0100
committerTobias Markmann <tm@ayena.de>2009-02-14 19:39:46 +0100
commitee76996984e89100a912ef8e6a2fe5b135883ec2 (patch)
treeeb79feb77bd649fc539b4e7628cc782f5e120a26 /util
parentb157135ee2019f8443a0c2652b75e014c339d9c0 (diff)
downloadprosody-ee76996984e89100a912ef8e6a2fe5b135883ec2.tar.gz
prosody-ee76996984e89100a912ef8e6a2fe5b135883ec2.zip
Adding TODO notice on UUIDs for usage with SASL ANONYMOUS.
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