Your IP : 216.73.216.220


Current Path : /home/rtorresani/www/vendor/magento/module-two-factor-auth/Controller/Adminhtml/Duo/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-two-factor-auth/Controller/Adminhtml/Duo/Configure.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\TwoFactorAuth\Controller\Adminhtml\Duo;

use Magento\Framework\App\Action\HttpGetActionInterface;
use Magento\TwoFactorAuth\Controller\Adminhtml\AbstractAction;

/**
 * Duo Security configuration controller
 */
class Configure extends AbstractAction implements HttpGetActionInterface
{
    /**
     * @see _isAllowed()
     */
    const ADMIN_RESOURCE = 'Magento_TwoFactorAuth::tfa';

    /**
     * @inheritdoc
     */
    public function execute()
    {
        return $this->_redirect('*/*/auth');
    }
}