plugins/mod_auth_internal.lua

changeset 3335
f13306ce3417
parent 3287
e425e27c12be
--- a/plugins/mod_auth_internal.lua	Thu Jul 08 18:59:17 2010 +0100
+++ b/plugins/mod_auth_internal.lua	Thu Jul 08 20:59:53 2010 +0100
@@ -63,10 +63,6 @@
 			log("debug", "account not found for username '%s' at host '%s'", username, module.host);
 			return nil, "Auth failed. Invalid username";
 		end
-		if account.password == nil or string.len(account.password) == 0 then
-			log("debug", "account password not set or zero-length for username '%s' at host '%s'", username, module.host);
-			return nil, "Auth failed. Password invalid.";
-		end
 		return true;
 	end
 

mercurial