Commit 749d3877 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[TASK] Add femanager confirmation view

parent bcb2dbd4
......@@ -27,7 +27,7 @@ return [
'documentation' => 'a:0:{}',
'extensionmanager' => 'a:2:{s:21:"automaticInstallation";s:1:"1";s:11:"offlineMode";s:1:"0";}',
'felogin' => 'a:0:{}',
'femanager' => 'a:2:{s:13:"disableModule";s:1:"0";s:10:"disableLog";s:1:"0";}',
'femanager' => 'a:4:{s:13:"disableModule";s:1:"0";s:24:"enableConfirmationModule";s:1:"1";s:10:"disableLog";s:1:"0";s:16:"setCookieOnLogin";s:1:"0";}',
'fluid_styled_content' => 'a:0:{}',
'form' => 'a:0:{}',
'ig_ldap_sso_auth' => 'a:18:{s:18:"checkConfiguration";s:1:"0";s:21:"throwExceptionAtLogin";s:1:"1";s:22:"forceLowerCaseUsername";s:1:"1";s:26:"enableBELDAPAuthentication";s:1:"0";s:17:"TYPO3BEGroupExist";s:1:"0";s:16:"TYPO3BEUserExist";s:1:"0";s:10:"BEfailsafe";s:1:"0";s:27:"TYPO3BEGroupsNotSynchronize";s:1:"0";s:12:"keepBEGroups";s:1:"0";s:11:"enableBESSO";s:1:"0";s:26:"enableFELDAPAuthentication";s:1:"1";s:31:"TYPO3FEDeleteUserIfNoLDAPGroups";s:1:"0";s:32:"TYPO3FEDeleteUserIfNoTYPO3Groups";s:1:"0";s:17:"TYPO3FEGroupExist";s:1:"0";s:16:"TYPO3FEUserExist";s:1:"0";s:27:"TYPO3FEGroupsNotSynchronize";s:1:"1";s:12:"keepFEGroups";s:1:"1";s:11:"enableFESSO";s:1:"0";}',
......
......@@ -125,6 +125,7 @@ class FeManagerHooks
*/
public function newUserAdminApprovement(User $user, UserBackendController $plugin)
{
#User was approved via backend
$this->sendSlackBotMessage(
'User approved',
......@@ -204,7 +205,11 @@ class FeManagerHooks
$result = $ldap->deleteUser($user->getUsername());
// TODO: Handle the response as needed
// TODO: Handle the resonse as needed
if ($ret === true) {
} else {
}
}
return $result;
......@@ -280,6 +285,7 @@ class FeManagerHooks
*/
protected function sendConfirmationEmail(User $user)
{
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$femanagerSettings = $this->fullTS['plugin.']['tx_femanager.']['settings.'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment