CodBi
    Preparing search index...

    Function resolveLdapUrl

    • Resolves the correct LDAP URL from plugin settings based on the browser's current domain.

      Compares window.location.hostname against the hostnames of LDAP.URL and LDAP.URL_BACKEND. Returns whichever URL shares the same domain as the browser, or falls back to whichever is available.

      Returns string

      The resolved LDAP URL, or undefined if neither is configured.