From 19ec20ab89bf938fe2dd1a99b62debc76e199425 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 5 Dec 2014 19:15:41 +0100 Subject: Add option to hide or show password fields --- inc/property.inc.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inc/property.inc.php') 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'); + } } -- cgit v1.2.3-55-g7522