From f955089284919ddb28a8f0684949eea56e1a63a5 Mon Sep 17 00:00:00 2001 From: jonl Date: Mon, 16 Jan 2012 19:35:10 +0100 Subject: [PATCH] Removed a WTF, changed default password size to 24 --- lib/user_functions.php | 2 +- user.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/user_functions.php b/lib/user_functions.php index adad1be..1808437 100644 --- a/lib/user_functions.php +++ b/lib/user_functions.php @@ -5,7 +5,7 @@ require_once('lib/db_functions.php'); $config = get_config(); -function generate_password( $length = 32 ) +function generate_password( $length = 24 ) { $string = ""; while ( strlen( $string ) < $length ) diff --git a/user.php b/user.php index 87dbe53..49e8588 100644 --- a/user.php +++ b/user.php @@ -430,7 +430,6 @@ if ( !$config['sql_link'] ) } if ( is_provision_user( $username, $domain ) ) { - print "WTF"; // Update provisioning password if (! update_provision_pw( $username, $domain, $password ) ) { -- 2.39.2