<?php

/**
 * Register middlewares, which will be triggered at each request
 */
return [
    'frontend' => [
        'logout-rewriter' => [
            'target' => Opentalent\OtConnect\Middleware\RequestHandler::class,
            'before' => [
                'typo3/cms-adminpanel/data-persister'
            ],
            'after' => [
                'typo3/cms-adminpanel/renderer'
            ],
        ],
    ],
];
