From 27772495024191277d1f5e1a0b476e0847a01e71 Mon Sep 17 00:00:00 2001 From: gconsidine Date: Tue, 25 Jul 2017 14:59:27 -0400 Subject: [PATCH] Change secret input edit mode to display as hiddden --- awx/ui/client/lib/components/input/secret.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/lib/components/input/secret.directive.js b/awx/ui/client/lib/components/input/secret.directive.js index 5a0a9876e2..1d3a03546c 100644 --- a/awx/ui/client/lib/components/input/secret.directive.js +++ b/awx/ui/client/lib/components/input/secret.directive.js @@ -18,11 +18,11 @@ function AtInputSecretController (baseInputController) { baseInputController.call(vm, 'input', _scope_, element, form); scope = _scope_; + scope.type = 'password'; if (!scope.state._value || scope.state._promptOnLaunch) { scope.mode = 'input'; scope.state._buttonText = vm.strings.get('SHOW'); - scope.type = 'password'; vm.toggle = vm.toggleShowHide; } else {