ext_localconf.php 1.18 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
15
/**
 * Register signal slots
 * TODO: add the signal names
 */
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
Stefan Busemann's avatar
Stefan Busemann committed
16
17
18
    'AutoApprovementDone',
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserAutoApprovement'
19
20
21
);
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
Stefan Busemann's avatar
Stefan Busemann committed
22
23
24
    'AutoApprovementRefused',
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserNotification'
25
26
27
);
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
Stefan Busemann's avatar
Stefan Busemann committed
28
29
30
31
32
33
34
35
    'AdminApprovementDone',
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserAdminApprovement'
);
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
    'deleteAction',
    \T3o\T3omy\Hooks\FeManagerHooks::class,
36
37
    'deleteUser'
);
38

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