mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
- moved admin user password and locking functionality from PasswordManagement to User module - moved customer password upgrade from PasswordManagement to Customer module - renamed PasswordManagement module to EncryptionKey to contain the encryption key management code
24 lines
521 B
PHP
24 lines
521 B
PHP
<?php
|
|
/**
|
|
* Copyright © 2015 Magento. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
|
|
/**
|
|
* Encryption key changer controller
|
|
*/
|
|
namespace Magento\EncryptionKey\Controller\Adminhtml\Crypt;
|
|
|
|
abstract class Key extends \Magento\Backend\App\Action
|
|
{
|
|
/**
|
|
* Check whether current administrator session allows this controller
|
|
*
|
|
* @return bool
|
|
*/
|
|
protected function _isAllowed()
|
|
{
|
|
return $this->_authorization->isAllowed('Magento_EncryptionKey::crypt_key');
|
|
}
|
|
}
|