LDAP and Mobile interface does not work.
When using the LDAP feature with the mobile interface using AD you're unable to log in. It's simple responds with "Email or password are incorrect! Please try again!". Additionally the option to register is visible which we've disabled in the admin settings (and it's not visible in the desktop version).
What code is required to get LDAP/AD working without needing to use a 3rd party identity management group?