refactor: improve ttls tunnel stuff and fix some byte sizes for AVPs

This commit is contained in:
simon
2020-02-25 11:54:57 +01:00
parent 6aa4b9f92e
commit 60ec84ae8e
13 changed files with 296 additions and 159 deletions

View File

@@ -39,7 +39,6 @@ export class LDAPAuth implements IAuthentication {
}
async authenticate(username: string, password: string) {
// console.log('AUTH', this.ldap);
const authResult: boolean = await new Promise((resolve, reject) => {
this.ldap.authenticate(username, password, function(err, user) {
if (err) {