Skip to content

Instantly share code, notes, and snippets.

@derhansen
Created June 6, 2015 11:45
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 derhansen/7c0d3f0380aeace29f11 to your computer and use it in GitHub Desktop.
Save derhansen/7c0d3f0380aeace29f11 to your computer and use it in GitHub Desktop.
ext_localconf.php for the YubiKey extension
$extConf = unserialize($TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY]);
if (isset($extConf['yubikeyEnableBE']) && (bool)$extConf['yubikeyEnableBE']) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['backend']['loginProviders'][1433416747]['provider'] = DERHANSEN\SfYubikey\LoginProvider\YubikeyLoginProvider::class;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment