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 <rohit.yadav@shapeblue.com>
This commit is contained in:
Hoang Nguyen 2020-08-25 14:34:42 +07:00 committed by Rohit Yadav
parent ee41dc64da
commit c8e28e2919

View File

@ -73,7 +73,7 @@
<div class="form__item">
<div class="form__label">{{ $t('label.vcenterpassword') }}</div>
<a-input v-model="password"></a-input>
<a-input type="password" v-model="password"></a-input>
</div>
<div class="form__item">
@ -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,