Diff

plugins/mod_auth_internal_plain.lua @ 5509:76744bda82be

mod_auth_internal_plain: Don't log passwords, even at debug level
author Matthew Wild <mwild1@gmail.com>
date Tue, 23 Apr 2013 15:13:51 +0100
parent 5500:eeea0eb2602a
child 5776:bd0ff8ae98a8
line wrap: on
line diff
--- a/plugins/mod_auth_internal_plain.lua	Mon Apr 22 12:35:52 2013 +0100
+++ b/plugins/mod_auth_internal_plain.lua	Tue Apr 23 15:13:51 2013 +0100
@@ -19,7 +19,7 @@
 log("debug", "initializing internal_plain authentication provider for host '%s'", host);
 
 function provider.test_password(username, password)
-	log("debug", "test password '%s' for user %s at host %s", password, username, host);
+	log("debug", "test password for user %s at host %s", username, host);
 	local credentials = accounts:get(username) or {};
 
 	if password == credentials.password then