From 8a50badca486866a5606fe7cf092fde54e9ca9e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=81ojewski?= Date: Sun, 10 Jun 2018 09:49:50 +0200 Subject: [PATCH] Hide password --- templates/admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/admin.php b/templates/admin.php index 2e30058..fb227f9 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -24,11 +24,11 @@ use OCP\IL10N; script('user_sql', 'settings'); style('user_sql', 'settings'); -function print_text_input(IL10N $l, $id, $label, $value = "") +function print_text_input(IL10N $l, $id, $label, $value = "", $type = "text") { echo "
"; @@ -98,7 +98,7 @@ function print_select_options( print_text_input($l, "db-hostname", "Hostname", $_['db.hostname']); print_text_input($l, "db-database", "Database", $_['db.database']); print_text_input($l, "db-username", "Username", $_['db.username']); - print_text_input($l, "db-password", "Password", $_['db.password']); ?> + print_text_input($l, "db-password", "Password", $_['db.password'], "password"); ?>
">