From 0e32c8648f81ef02c6ad7650f8b31428dd0f5b80 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Fri, 8 Feb 2008 16:49:06 -0500 Subject: Changed valid_passwd() to check for non-empty password instead of good_passwd() Signed-off-by: Loui Chang Signed-off-by: Simo Leone --- web/lib/acctfuncs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index 29c80de..5775101 100644 --- a/web/lib/acctfuncs.inc +++ b/web/lib/acctfuncs.inc @@ -728,7 +728,7 @@ function good_passwd( $passwd ) */ function valid_passwd( $userID, $passwd ) { - if ( good_passwd($passwd) ) { + if ( strlen($passwd) > 0 ) { $dbh = db_connect(); $q = "SELECT ID FROM Users". " WHERE ID = '$userID'" . -- cgit v1.2.3-70-g09d2