diff options
author | Simon Rettberg | 2014-12-05 19:15:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-12-05 19:15:41 +0100 |
commit | 19ec20ab89bf938fe2dd1a99b62debc76e199425 (patch) | |
tree | fb084493aed19cc481b2276dff5063ac796c7a65 /inc/property.inc.php | |
parent | Use different icons for client log entries (incomplete) (diff) | |
download | slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.tar.gz slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.tar.xz slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.zip |
Add option to hide or show password fields
Diffstat (limited to 'inc/property.inc.php')
-rw-r--r-- | inc/property.inc.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/property.inc.php b/inc/property.inc.php index 6a639dd2..c16c8ad7 100644 --- a/inc/property.inc.php +++ b/inc/property.inc.php @@ -171,5 +171,15 @@ class Property { return self::get('needs-setup'); } + + public static function setPasswordFieldType($value) + { + return self::set('password-type', $value); + } + + public static function getPasswordFieldType() + { + return self::get('password-type', 'password'); + } } |