import ngModule from '../module'; import Section from 'salix/components/section'; export default class Controller extends Section { onTestConection() { this.$http.get(`LdapConfigs/test`) .then(() => this.vnApp.showSuccess(this.$t('LDAP connection established!'))); } } ngModule.component('vnAccountLdap', { template: require('./index.html'), controller: Controller });