di.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * MageSpecialist
  5. *
  6. * NOTICE OF LICENSE
  7. *
  8. * This source file is subject to the Open Software License (OSL 3.0)
  9. * that is bundled with this package in the file LICENSE.txt.
  10. * It is also available through the world-wide-web at this URL:
  11. * http://opensource.org/licenses/osl-3.0.php
  12. * If you did not receive a copy of the license and are unable to
  13. * obtain it through the world-wide-web, please send an email
  14. * to info@magespecialist.it so we can send you a copy immediately.
  15. *
  16. * @category MSP
  17. * @package MSP_TwoFactorAuth
  18. * @copyright Copyright (c) 2017 Skeeller srl (http://www.magespecialist.it)
  19. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  20. */
  21. -->
  22. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  23. xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
  24. <type name="Magento\User\Block\User\Edit\Tabs">
  25. <plugin sortOrder="1" name="mSPTwoFactorAuthTabs" type="MSP\TwoFactorAuth\Plugin\Block\User\Edit\TabsPlugin"/>
  26. </type>
  27. <type name="Magento\User\Observer\Backend\ForceAdminPasswordChangeObserver">
  28. <plugin sortOrder="1" name="mSPTwoFactorAuthForceAdminPasswordChangeObserver"
  29. type="MSP\TwoFactorAuth\Plugin\Observer\Backend\ForceAdminPasswordChangeObserverPlugin"/>
  30. </type>
  31. </config>