summaryrefslogtreecommitdiff
path: root/src/views/AccessControl/Ldap/Ldap.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/AccessControl/Ldap/Ldap.vue')
-rw-r--r--src/views/AccessControl/Ldap/Ldap.vue10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/views/AccessControl/Ldap/Ldap.vue b/src/views/AccessControl/Ldap/Ldap.vue
index 25e50cbf..78bb830b 100644
--- a/src/views/AccessControl/Ldap/Ldap.vue
+++ b/src/views/AccessControl/Ldap/Ldap.vue
@@ -350,7 +350,9 @@ export default {
this.$store
.dispatch('ldap/getAccountSettings')
.finally(() => this.endLoader());
- this.$store.dispatch('sslCertificates/getCertificates');
+ this.$store
+ .dispatch('sslCertificates/getCertificates')
+ .finally(() => this.endLoader());
this.setFormValues();
},
methods: {
@@ -398,11 +400,13 @@ export default {
.dispatch('ldap/saveAccountSettings', data)
.then((success) => {
this.successToast(success);
- this.$v.form.$reset();
})
- .catch(({ message }) => this.errorToast(message))
+ .catch(({ message }) => {
+ this.errorToast(message);
+ })
.finally(() => {
this.form.bindPassword = '';
+ this.$v.form.$reset();
this.endLoader();
});
},