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

6
7
8
#######################################
###
#######################################
9
10
/**
 * Register signal slots
11
 *
12
13
14
 */
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$dispatcher->connect(
15
    \In2code\Femanager\Controller\NewController::class,
16
    'doApprovementAutoApprovementDone',
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
29
30
31
32
33
34
35

$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
    'deleteAction',
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'deleteUser'
);


36
37
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
38
    'approveUserAction',
Stefan Busemann's avatar
Stefan Busemann committed
39
40
41
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserAdminApprovement'
);
42

Stefan Busemann's avatar
Stefan Busemann committed
43
44
$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
45
    'declineUserAction',
Stefan Busemann's avatar
Stefan Busemann committed
46
    \T3o\T3omy\Hooks\FeManagerHooks::class,
47
    'newUserAdminDecline'
48
);
49

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