aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/usermanager.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index 955218cc..6c36fa29 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -63,9 +63,7 @@ function create_user(username, password, host)
end
function get_supported_methods(host)
- local methods = {["PLAIN"] = true}; -- TODO this should be taken from the config
- methods["DIGEST-MD5"] = true;
- return methods;
+ return {["PLAIN"] = true, ["DIGEST-MD5"] = true}; -- TODO this should be taken from the config
end
function is_admin(jid)