ext_localconf.php 1.19 KB
Newer Older
1
2
3
4
5
<?php
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}

6
7
8
#######################################
###
#######################################
9
10
11
12
13
14
/**
 * Register signal slots
 * TODO: add the signal names
 */
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$dispatcher->connect(
15
16
    \In2code\Femanager\Controller\NewController::class,
    'isAdminConfirmationMissingAutoApprovementDone',
Stefan Busemann's avatar
Stefan Busemann committed
17
18
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserAutoApprovement'
19
);
20

21
$dispatcher->connect(
22
23
    \In2code\Femanager\Controller\NewController::class,
    'isAdminConfirmationMissingAutoApprovementRefused',
Stefan Busemann's avatar
Stefan Busemann committed
24
25
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserNotification'
26
27
28
);
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
29
    '',
Stefan Busemann's avatar
Stefan Busemann committed
30
31
32
33
34
35
36
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserAdminApprovement'
);
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
    'deleteAction',
    \T3o\T3omy\Hooks\FeManagerHooks::class,
37
38
    'deleteUser'
);
39

Stefan Busemann's avatar
Stefan Busemann committed
40
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['password_changed'][] = \T3o\T3omy\Hooks\FeManagerHooks::class . '->writePassword';
41