salix/modules/account/front/ldap/index.js

15 lines
407 B
JavaScript
Raw Normal View History

2020-10-31 21:56:02 +00:00
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!')));
2020-10-31 21:56:02 +00:00
}
}
ngModule.component('vnAccountLdap', {
template: require('./index.html'),
controller: Controller
});