From bb690d44eb8cbfce446b5bf023cdc7bd47a53fdb Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Thu, 07 May 2015 09:45:28 -0400 Subject: [PATCH] updated avoid the second use of query in install.php --- interface/web/mailuser/form/mail_user_password.tform.php | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/interface/web/mailuser/form/mail_user_password.tform.php b/interface/web/mailuser/form/mail_user_password.tform.php index 65cf076..a11982e 100644 --- a/interface/web/mailuser/form/mail_user_password.tform.php +++ b/interface/web/mailuser/form/mail_user_password.tform.php @@ -61,6 +61,14 @@ 'password' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'PASSWORD', + 'validators' => array( + 0 => array( + 'type' => 'CUSTOM', + 'class' => 'validate_password', + 'function' => 'password_check', + 'errmsg' => 'weak_password_txt' + ) + ), 'encryption' => 'CRYPT', 'default' => '', 'value' => '', -- Gitblit v1.9.1