Skip to content

Instantly share code, notes, and snippets.

@beardcoder
Last active January 23, 2018 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beardcoder/e669361252596dcbf529c3bb38966dff to your computer and use it in GitHub Desktop.
Save beardcoder/e669361252596dcbf529c3bb38966dff to your computer and use it in GitHub Desktop.
Disable TYPO3 LDAP Login (EXT:ig_ldap_sso_auth)
<?php
// Disable LDAP on local development
if (isset($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['ig_ldap_sso_auth'])) {
$ig_ldap_sso_auth = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['ig_ldap_sso_auth']);
$ig_ldap_sso_auth['enableBELDAPAuthentication'] = false;
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['ig_ldap_sso_auth'] = serialize($ig_ldap_sso_auth);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment