From 19b5e01da02aa2115ee802cf2e43a7f3e58f4eac Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Wed, 13 Aug 2014 13:28:03 -0400 Subject: [PATCH] Added function "is_superadmin" in auth library and improved other functions. --- interface/web/admin/form/users.tform.php | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/interface/web/admin/form/users.tform.php b/interface/web/admin/form/users.tform.php index 06f07c0..9ee2970 100644 --- a/interface/web/admin/form/users.tform.php +++ b/interface/web/admin/form/users.tform.php @@ -164,6 +164,14 @@ 'passwort' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'PASSWORD', + 'validators' => array( + 0 => array( + 'type' => 'CUSTOM', + 'class' => 'validate_password', + 'function' => 'password_check', + 'errmsg' => 'weak_password_txt' + ) + ), 'encryption' => 'CRYPT', 'regex' => '', 'errmsg' => '', -- Gitblit v1.9.1