Diff

core/usermanager.lua @ 3395:e736f68c1047

usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password
author Matthew Wild <mwild1@gmail.com>
date Wed, 21 Jul 2010 21:01:36 +0100
parent 3362:90bf162303f3
child 3419:79e08dc3fd37
line wrap: on
line diff
--- 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