From c8e28e29195ef08f28cae9f610629982e42a6fe5 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Tue, 25 Aug 2020 14:34:42 +0700 Subject: [PATCH] FIX - Add cluster - password is not masked (#613) * change vCenter Password from input type to password type * change API call for addCluster to POST Signed-off-by: Rohit Yadav --- ui/src/views/infra/ClusterAdd.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/infra/ClusterAdd.vue b/ui/src/views/infra/ClusterAdd.vue index 67bbd12c513..7c80a529481 100644 --- a/ui/src/views/infra/ClusterAdd.vue +++ b/ui/src/views/infra/ClusterAdd.vue @@ -73,7 +73,7 @@
{{ $t('label.vcenterpassword') }}
- +
@@ -223,7 +223,7 @@ export default { this.loading = true this.parentToggleLoading() - api('addCluster', { + api('addCluster', {}, 'POST', { zoneId: this.zoneId, hypervisor: this.hypervisor, clustertype: this.clustertype,