ext_localconf.php 1.17 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
    'AutoConfirmation',
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

$dispatcher->connect(
    \In2code\Femanager\Controller\UserBackendController::class,
30
    'confirmUserAction',
Stefan Busemann's avatar
Stefan Busemann committed
31
32
33
    \T3o\T3omy\Hooks\FeManagerHooks::class,
    'newUserAdminApprovement'
);
34

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

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