-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathext_localconf.php
More file actions
24 lines (20 loc) · 729 Bytes
/
ext_localconf.php
File metadata and controls
24 lines (20 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
defined('TYPO3') or die();
use Derhansen\FeChangePwd\Controller\PasswordController;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
ExtensionUtility::configurePlugin(
'fe_change_pwd',
'Pi1',
[
PasswordController::class => ['edit', 'update', 'sendChangePasswordCode'],
],
// non-cacheable actions
[
PasswordController::class => ['edit', 'update', 'sendChangePasswordCode'],
],
ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);
// Define template override for Fluid email
if (!isset($GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][750])) {
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][750] = 'EXT:fe_change_pwd/Resources/Private/Templates/Email';
}