LT-103: Authenticate via LDAP

This commit is contained in:
Aysel Afsar committed 2016-03-22 15:43:06 -04:00
1 parent beaa0d4e65
commit 3c60a6dda1
11 files changed
+559 -34

No files matched your search

@@ -64,6 +64,10 @@ Template.entrySignIn.helpers({
} else {
return "border: 1px solid gray";
}
},
isLDAPSet: function() {
return Session.get('isLDAPSet');
}
});
@@ -134,6 +138,11 @@ Template.entrySignIn.events({
if(event.keyCode == 13) {
$("#signInToAppButton").click();
}
},
'click #signInLDAPToAppButton': function(e, template) {
var username = template.$("#signInLDAPUsernameInput").val();
var password = template.$("#signInLDAPPasswordInput").val();
ActiveEntry.loginWithLDAP(username, password);
}
});