Flesh out users OU (works with Gitea simple LDAP now!!)
This commit is contained in:
@@ -92,7 +92,9 @@ class LDAPRoutingUnit extends CanonicalUnit {
|
||||
this.ldap_server.server[type]([route_prefix, suffix].join(','), ...route_functions)
|
||||
}
|
||||
} else {
|
||||
this.output.warn(`Missing or invalid LDAP protocol definition ${type} in router ${name}. The protocol will be skipped.`)
|
||||
// Unbind has a default handler, so don't warn about that.
|
||||
if ( type !== 'unbind' )
|
||||
this.output.warn(`Missing or invalid LDAP protocol definition ${type} in router ${name}. The protocol will be skipped.`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user