--- a/core/usermanager.lua Tue Jul 20 17:42:44 2010 +0500 +++ b/core/usermanager.lua Wed Jul 21 21:01:36 2010 +0100 @@ -63,7 +63,7 @@ function is_cyrus(host) return config.get(host, "core", "sasl_backend") == "cyrus"; end -function test_password(username, password, host) +function test_password(username, host, password) return hosts[host].users.test_password(username, password); end