ejabberd2prosody: Don't print passwords of imported accounts

Sun, 21 Feb 2010 16:57:06 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 21 Feb 2010 16:57:06 +0000
changeset 2693
e60494fbf23f
parent 2689
542d633e0280
child 2694
a6d80b6e9ee1

ejabberd2prosody: Don't print passwords of imported accounts

tools/ejabberd2prosody.lua file | annotate | diff | comparison | revisions
--- a/tools/ejabberd2prosody.lua	Sun Feb 21 16:43:29 2010 +0000
+++ b/tools/ejabberd2prosody.lua	Sun Feb 21 16:57:06 2010 +0000
@@ -49,7 +49,7 @@
 end
 function password(node, host, password)
 	local ret, err = dm.store(node, host, "accounts", {password = password});
-	print("["..(err or "success").."] accounts: "..node.."@"..host.." = "..password);
+	print("["..(err or "success").."] accounts: "..node.."@"..host);
 end
 function roster(node, host, jid, item)
 	local roster = dm.load(node, host, "roster") or {};

mercurial