aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-01-17 00:33:57 +0100
committerache <ache@ache.one>2018-01-17 00:33:57 +0100
commitfaf86a6a666f0af3b443af681a13add399a39b9d (patch)
treeea2552217de79f28d1428f3a5a7fb6e2deeaf320
parentArg gestion (diff)
Password support
-rw-r--r--app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.js b/app.js
index 7726250..4fd014c 100644
--- a/app.js
+++ b/app.js
@@ -175,7 +175,9 @@ function plugin() {
/* istanbul ignore if - never used (yet) */
if (silent) return true;
- prop['type'] = 'text';
+ if( prop['type'] != 'password' )
+ prop['type'] = 'text';
+
prop['placeholder'] = subvalue.replace(/^_*/g, '').replace(/_*$/g, ''),
console.log(prop);